Cloud Discovery: Azure Subscriptions Not Returning

Marskh11
Tera Guru

Community, 

I am setting up Cloud Discovery and our first trial is for Azure discovery. The Azure service principal was created and given read access to the subscription. The service principle credential is stored in the instance. The mid server is placed properly but when I run discover subscriptions - nothing comes back. One subscription should come back. Has anyone seen this before? 

16 REPLIES 16

Badarinarayan B
ServiceNow Employee
ServiceNow Employee

Hi Marskh11,

Can you share more details? The CAPI and Cloud trail logs would be a good start.

 

Badarinarayan Burli,

Staff Software Engineer, Cloud Management.

Hi 

I can't share them fully. But the CAPI trail logs are showing successfully routed but the results that are being returned are empty/null. 

Also our Azure admin provided our SP read roles, I'm having contradictions in the SN documents on if they need read or contribute. But read is our preferred route for security reasons. 

The only error I am seeing is actually if I run the Cloud Discovery guided setup - I try to test the service account and i get the error "Identification sections in pattern failed: section: Azure Subscription identification, error: Custom operation bf1bf53ddba11300d504788dbf96197f was not found. Make sure that the custom operation exists."