Local datacenters are not getting discovered --- Azure Cloud Discovery

Aritra Sadhu
Kilo Explorer

We are using the Management group ID as an Account ID and we are using it as Master Account, all the Sub-accounts are getting discovered but none of the Local Data centers are getting discovered.

Getting the below-mentioned error in the CAPI logs(route_error):

Failed to execute API - Failed with status code and message: 404: {"error":{"code":"SubscriptionNotFound","message":"The subscription 'xxxmfjfjfhdgd' could not be found."}} (script_include:CloudRESTAPIInvoker; line 154)</comments>

Please share a resolution about this matter.

 

3 REPLIES 3

Daniel Borkowi1
Mega Sage

Seems that your Azure Discovery User (Service Principle) has not the right privileges, please check with the Azure Team the permissions described here: https://docs.servicenow.com/bundle/quebec-it-operations-management/page/product/cloud-management-v2-...

sai12
Tera Contributor

Hi Aritra,

Please check the policies assigned in Azure cloud to service account being used in ServiceNow.

Policy should add listofdatacenters in it and have read access.

Please copy the policy you are using.

or if this Helps, please hit helpful šŸ˜‰

Nilanjan1
Mega Sage

Hello Arithra, 

Can you please tell me what is the Account ID that you have used for the Management Group? I am getting stuck there?