msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
Powershell SDK for Microsoft Graph
**Describe the bug** > Using any of the below Cmdlets: > + [Get-MgDirectoryObject](https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.directoryobjects/get-mgdirectoryobject?view=graph-powershell-1.0) > + [Get-MgDirectoryObjectById](https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.directoryobjects/get-mgdirectoryobjectbyid?view=graph-powershell-1.0) > + [Get-MgBetaDirectoryObject](https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.directoryobjects/get-mgbetadirectoryobject?view=graph-powershell-beta) > + [Get-MgBetaDirectoryObjectById](https://learn.microsoft.com/en-us/powershell/module/Microsoft.Graph.Beta.DirectoryObjects/Get-MgBetaDirectoryObjectById?view=graph-powershell-beta) The documentation for these cmdlets suggests it's as...
**Describe the bug** I am unable to send a CC email for a new invited user in EntraID. **To Reproduce** Steps to reproduce the behavior: ``` $params = @{ invitedUserEmailAddress...
We are seeing a consistent issue activating AAD PIM roles using the Microsoft Graph SDK PowerShell module (version 2.0.0-Preview4 and the issue is still present in the latest version 2.28.0...
**Describe the bug** When attempting to update an Application's onPremisesPublishing settings using `Update-MgBetaApplication` as instructed in the docs ([LINK](https://learn.microsoft.com/en-us/graph/application-proxy-configure-api?tabs=powershell)) an error occurs. The only difference being that the external_url being...
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...
If SqlServer module 22.2.0 is imported before Microsoft.Graph.Authentication (tested with 2.12.0 and 2.10.0), Connect-MgGraph fails. PS C:\> Import-Module SqlServer PS C:\> Import-Module Microsoft.Graph.Authentication PS C:\> Connect-MgGraph Connect-MgGraph: Method not found:...
We have a service which manages cost and security governance across several thousand tenants. This service runs in Azure Functions, which scales out by creating additional Powershell runspaces. The challenge...
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...
**Describe the bug** Both ```Get-MgBookingBusiness``` and ```Get-MgBetaBookingBusiness``` return no results even with ```-All``` parameter used **To Reproduce** Steps to reproduce the behavior: 1. Open PowerShell 5.x or PowerShell 7.x (**not**...
Code I'm running: ``` $MobileApps = Get-MgBetaDeviceAppManagementMobileAppAsAndroidStoreApp $MobileApps | ForEach-Object { $App = $_ $AppDisplayName = $App.DisplayName if ($App.Assignments -eq "") { Write-Host $("$AppDisplayName does not have any assignments.") }...