msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
Powershell SDK for Microsoft Graph
**Describe the bug** I have a requirement to create access reviews, occasionally out of schedule. I would like these instances to be part of the same definition so that all...
**Describe the bug** When attempting to use the `Remove-MgBetaEntitlementManagementAccessPackageAssignment` cmdlet with a valid `AccessPackageAssignmentId`, the azurewebsites API endpoint results in a 404 error. **To Reproduce** Steps to reproduce the behavior:...
As per the Microsoft [doc](https://learn.microsoft.com/en-us/graph/api/user-list-manager?view=graph-rest-1.0&tabs=http#request-1) I am trying to get the list of managers via graph API (in powershell) based on the user alias and it is always returning the...
**Describe the bug** The Update-MgUser cmdlet cannot clear the onPremisesImmutableId property. **To Reproduce** Execute a command such as: `Update-MgUser -UserId [UserId] -OnPremisesImmutableId $null` **Expected behavior** The property should clear. The...
**Is your feature request related to a problem? Please describe.** I am unable to require requestor justification for an access package policy using the Powershell Graph Module for Entitlement Management....
Get-MgContext should include directory role ids from wids claim and resolve to role displayName if possible.  In the example below, - "9b895d92-2cd3-44c7-9d02-a6ac2d5ea5c3" equates to "Authentication Admin" role - "0997a1d0-0d1d-4acb-b408-d5ca73121e90"...
Currently, `Get-MgDirectoryRoleMember` only allows to filter by Directory Role ID: ``` -DirectoryRoleId ``` However, the [underlying Graph API endpoint](https://learn.microsoft.com/en-us/graph/api/directoryrole-list-members) also allows to filter directly by Role Template ID: > You...
**Describe the bug** Looking for the powershell cmdlet to get the Conditional Access Policies I came across these two commands: **Get-MgIdentityConditionalAccess**: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.identity.signins/get-mgidentityconditionalaccess?view=graph-powershell-1.0 **Get-MgIdentityConditionalAccessPolicy**: https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.identity.signins/get-mgidentityconditionalaccesspolicy?view=graph-powershell-1.0 However, the Get-MgIdentityConditionalAccess cmdlet and its...
**Describe the bug** Get-MgBetaDeviceManagementComanagedDevice works on its own, but when adding a ManagedDeviceId to target a specific device (required to expand the "detectedApps" property among other things) it fails with...
Thanks for reporting the bug. Please ensure you've gone through the following checklist before opening an issue: - Make sure you can reproduce this issue using the latest released version...