I need to create a service principal and assign a new role to it through Python
SDK. I am currently following steps as listed from this stackoverflow question.
I am currently working on the role assignment and I am stuck on the step of I need to input a principal_id
. For example, as needed here to create a new role assignment. Where can I find this service principal id
in Azure
portal? Is it the appId
or objectId
under Azure
Portal-> Active Directory -> App Registration -> My app?