skip to Main Content

Remove-MgRoleManagementDirectoryRoleEligibilitySchedule for Azure MS Graph SDK

I want to remove an EntraID (AzureAD) role for a user, me. I try to use Remove-MgRoleManagementDirectoryRoleEligibilitySchedule command. I get the UnifiedRoleEligibilityScheduleId with : $SearchId = Get-MgRoleManagementDirectoryRoleEligibilitySchedule -Filter "PrincipalId eq '$($me.Id)'" I can verify me ID with : Get-MgRoleManagementDirectoryRoleEligibilitySchedule -UnifiedRoleEligibilityScheduleId…

VIEW QUESTION
Back To Top
Search