Azure AD Misconfigured Application Error AADSTS650056 Using Enterprise ServiceNow Application

I have received the below error while configuring ServiceNow SSO. I have configured this previously on other instances of ServiceNow. I used the auto configuration from the Azure AD portal to configure ServiceNow. Configuration is identical to the previous configuration. I vaguely remember that I had to consent for this app to be used, but grant admin consent is disabled under the Enterprise App > ServiceNow App > Permissions.

Am I missing something here?

AADSTS650056: Misconfigured application. This could be due to one of
the following: the client has not listed any permissions for ‘AAD
Graph’ in the requested permissions in the client’s application
registration. Or, the admin has not consented in the tenant. Or, check
the application identifier in the request to ensure it matches the
configured client application identifier. Or, check the certificate in
the request to ensure it’s valid. Please contact your admin to fix the
configuration or consent on behalf of the tenant.

Read more here: Source link