Azure Discovery for China

mihhail
Tera Contributor

Hello everyone,

I am trying to configure an Azure Discovery for China, however encounter the following error right after I configure the Service Principal record and press the 'Discover Subscriptions' UI action:

Discovery Subscription Error : Failed to execute API - Fetching token failed, status code: 403, response body: <!DOCTYPE html>

 (script_include:AzureAPIInvoker; line 40)

Due to this error I am unable to discover the subscriptions and proceed with creating schedules etc.

I have been trying to deal with this issue for quite a while now and have been through most of what is available online, unfortunately have not been successful. 

 

I am aware that ServiceNow ITOM products have not been officially certified or supported against Germany and China regions, and Azure for China has its own physically isolated instances of Azure. Therefore, I have added the necessary MID Server properties for that per https://www.servicenow.com/community/itom-blog/azure-government-and-azure-national-cloud-region-support-for/ba-p/227287,  but this did not make a difference and the error is exactly the same. Also, I have confirmed with the Azure admin from China all the needed permissions have been correctly granted.

 

 

Here are some other articles that we have been through:

https://docs.servicenow.com/bundle/vancouver-it-operations-management/page/product/cloud-management-...

https://support.servicenow.com/kb_view.do?sysparm_article=KB0723531

https://learn.microsoft.com/en-us/entra/identity-platform/howto-create-service-principal-portal

 

I would appreciate any advice on this topic! 🙂

5 REPLIES 5

SiD2
ServiceNow Employee
ServiceNow Employee

Hi @mihhail 

 

You need to check the discovery log and understand this error.

 

Please mark Helpful / Accept Solution so that it helps others with similar questions.