Home > OS >  Resource 'appid or objectid' does not exist or one of its queried reference-property objec
Resource 'appid or objectid' does not exist or one of its queried reference-property objec

Time:07-08

I am trying to associate a claimmappingpolicy with a main service from the graph api: enter image description here

I tried to the call with the object id and appid, but it is not working, the resource is not found, but the resource exits: enter image description here

and the policy exist too: enter image description here

why not find the service principal with the graph api ??

CodePudding user response:

You are looking at the app registration, which means you are looking at ids of the Application object. You need the service principal objectId instead.

You can click "Managed application in local directory" from the app registration or go to "Enterprise applications" and find your service principal from there (it has the same name).

Documentation: Application and service principal objects in Azure Active Directory

  • Related