Microsoft Copilot integration with ServiceNow fails while creating the authentication connection with the error using Microsoft Entra ID user login authentication type. Issue: Microsoft Copilot integration with ServiceNow fails while creating the authentication connection with the error “Failed to create Auth connection: ClientError: Connection test failed. Details: User Not Authorized.” Symptoms: While configuring the Microsoft Copilot integration with a ServiceNow instance using Microsoft Entra ID user login, the authentication connection cannot be successfully created or validated. The following error is displayed: Failed to create Auth connection: ClientError: Connection test failed.Details: User Not Authorized Resolution: In ServiceNow, navigate to System OAuth > Application Registry. 1.Open the Application Registry record associated with your Microsoft Copilot Integration2.Update the configuration as follows:3.Set the Default Grant Type field to Client Credentials.4.Set the Client Type field to Integration as a Service.5.Add the User Account scope to the Application Registry record.6.Save the record.7.Retest the OAuth connection to confirm the error is resolved. Reference documentation: https://learn.microsoft.com/en-us/connectors/service-now/