Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 560 Bytes

api-permission-to-managed-identity.md

File metadata and controls

14 lines (10 loc) · 560 Bytes

Assign Graph API or SharePoint API permission to managed identity

Find the ObjectId for your Managed Identity

You can find the ObjectId for your managed identity in the Azure Portal.

  • Go to your automation account
  • Click "Identity" from the menu list to the left
  • Copy the ObjectID

How to find the object id

Assign the permissions

In the code, set the '$ManagedIdentityId' variable to the ObjectID for your managed identity.

You must be Global Admin to give permissions.