Posts

Showing posts from 2020

How to remove Azure Access Package User assignments using Graph API?

Image
Are you looking to remove Access Package User assignments programmatically? You have come to the right place. I will walk you through the steps to remove a User assignment from the Access Package. Before we get into the procedure, I assume that you have an understanding of the following items. If not, please follow the links to learn. Azure Entitlement Management Microsoft Graph API for Entitlement Management Alright, straight to the point. How can I remove the user assignment? All you need is an A ssignment id . That's it. Use the below Graph API endpoint using the HTTP POST method with a request body as provided below. Make sure that you are feeding assignment id in the body. Http Method: POST Endpoint:  https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentRequests Headers: content-type: application/json Body: { "accessPackageAssignment" : { "id" : " <<assignment