Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Servicenow Copilot studio Connection

gracjan
Tera Guru

When I add ServiceNow connector in Microsoft Copilot Studio, I get an error. I tried using PKCE with ServiceNow connection but it did not help. Please advise.Screenshot 2025-11-26 173554.jpg

1 ACCEPTED SOLUTION

gracjan
Tera Guru

The issue is resolved. For the instance name, I initially used the full domain including service-now.com, but the correct approach is to use only the instance name without any prefixes like https://. Additionally, in the ServiceNow Application Registries, the Redirect URL is important and may vary depending on your Microsoft tenant. The key is to extract the correct Redirect URI from the error message popup that says "Invalid redirect_uri"—this will reveal the expected value. For guidance on identifying the valid Redirect URI, refer to the official documentation:
ServiceNow Connector – Get Knowledge Articles. https://learn.microsoft.com/en-us/connectors/service-now/#get-knowledge-articles

View solution in original post

1 REPLY 1

gracjan
Tera Guru

The issue is resolved. For the instance name, I initially used the full domain including service-now.com, but the correct approach is to use only the instance name without any prefixes like https://. Additionally, in the ServiceNow Application Registries, the Redirect URL is important and may vary depending on your Microsoft tenant. The key is to extract the correct Redirect URI from the error message popup that says "Invalid redirect_uri"—this will reveal the expected value. For guidance on identifying the valid Redirect URI, refer to the official documentation:
ServiceNow Connector – Get Knowledge Articles. https://learn.microsoft.com/en-us/connectors/service-now/#get-knowledge-articles