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.

Azure Gov Tenant Cloud Discovery Error

ZDan12
Tera Contributor

Hi All,

 

I am setting up Azure Cloud Discovery for both our commercial and gov tenants, I had no issue discovering the subscriptions for the commercial tenant, however when I try to discover the subscriptions for the gov tenant, I receive following error - Discovery Subscription Error : Failed to execute API - Fetching token failed, status code: 400, response body: {"error":"invalid_request","error_description":"AADSTS900382: Confidential Client is not supported in Cross Cloud request. Trace ID: d8d44a03-bec2-4d46-9f78-22c70dd31c00 Correlation ID: 54752c72-5b6f-4a71-be6c-538413b0e948 Timestamp: 2025-03-31 18:14:12Z","error_codes":[900382],"timestamp":"2025-03-31 18:14:12Z","trace_id":"d8d44a03-bec2-4d46-9f78-22c70dd31c00","correlation_id":"54752c72-5b6f-4a71-be6c-538413b0e948"} (script_include:AzureAPIInvoker; line 38)

 

I have a good understanding of what the error is saying, but not sure how to fix. From what I have researched, I would need another MID server since we need MID server properties to discover the gov tenant subscriptions. However, I set these properties on our current MID server to just try to discover the subscriptions once, and I kept receiving the error.

Any insight on how to resolve this would be greatly appreciated!

1 REPLY 1

Dom Gattuso
Mega Sage

@ZDan12 Any luck on a resolution to this??