msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
Powershell SDK for Microsoft Graph
**Summary** There's a Get-MgUser without a Set-MgUser which is not in accordance with [PowerShell Verb Naming Recommendations](https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands) Instead of a Set-MgUser, there's an Update-MgUser which is not easily discoverable. **Description**...
Hi, I was asked to create an automation that would remove any admin accounts that were given permission to a user's onedrive on a daily basis. We are using Azure...
**Describe the bug** If I want to update a primary user of a device using the Update-MgDeviceManagementManagedDevice command, I get an error message stating the property 'businessPhones' does not exist...
In order to get the expiration date of SAML certificates, i'm using 'Get-MgBetaServicePrincipal' to retreive PreferredTokenSigningKeyEndDateTime value for all the apps:  For some applications, the value returned by the...
**Describe the bug** > Executing "New-MgEntitlementManagementAccessPackageAssignmentPolicy -AccessPackageId [Object id here]" returns the following error: "New-MgEntitlementManagementAccessPackageAssignmentPolicy_CreateExpanded: No HTTP resource was found that matches the request URI 'https://igaelm-asev3-ecapi-neu.igaelm-asev3-environment-neu.p.azurewebsites.net/api/v1/accessPackages('[Redacted]')/assignmentPolicies'. Status: 404 (NotFound) ErrorCode:...
**Describe the solution you'd like** We would like the ability to customise or append text to the UserAgent string that is populated in the new Microsoft Graph Activity logs so...
I am writing this report in reference to the upcoming [Deprecation of Exchange Online PowerShell UserPhoto cmdlets](https://techcommunity.microsoft.com/t5/exchange-team-blog/deprecation-of-exchange-online-powershell-userphoto-cmdlets/ba-p/3955744), which is supposed to be replaces by Microsoft Graph API. I wanted to...
CC @peombwa Related to: https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/1255 And I suspect the related other commands that use this syntax do not work as well **Describe the bug** The command generates the request URL...
Delegated access: custom application for Microsoft Graph PowerShell - Support for Conditional Access
**Is your feature request related to a problem? Please describe.** I see that there is guidance in **Connect-MgGraph.md** on how to create a custom application to restrict access, even for...
**Describe the bug** > When running the command multiple times in a short amount of times (i.e. a script) the command seems to fail at random. **To Reproduce** Steps to...