Get-MgOrganization Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Tue, 22 Aug 2023 16:46:20 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Get-MgOrganization Archives - Practical 365 32 32 Using the Microsoft Graph SDK for PowerShell with Azure Automation https://practical365.com/microsoft-graph-sdk-powershell-azure-automation/ https://practical365.com/microsoft-graph-sdk-powershell-azure-automation/#comments Mon, 28 Feb 2022 08:49:00 +0000 https://practical365.com/?p=55223 The Microsoft Graph PowerShell SDK is a good way to execute Microsoft Graph API queries from PowerShell scripts. In this article, we explain how to use cmdlets from the SDK with a Azure Automation runbook. The example we use is a script to send a welcome email to new employees.

The post Using the Microsoft Graph SDK for PowerShell with Azure Automation appeared first on Practical 365.

]]>
https://practical365.com/microsoft-graph-sdk-powershell-azure-automation/feed/ 10
Connecting to the Microsoft Graph Using the PowerShell SDK https://practical365.com/connect-microsoft-graph-powershell-sdk/ https://practical365.com/connect-microsoft-graph-powershell-sdk/#comments Thu, 23 Sep 2021 13:11:30 +0000 https://practical365.com/?p=53483 The Microsoft Graph SDK for PowerShell exists to help developers use Graph API calls from PowerShell. It works, but like anything in life, there's a right way to connect and use the SDK and a wrong way. In this article we explore topics like how to connect to the right tenant, how permissions are managed (or not), and why running Graph SDK cmdlets interactively isn't something you should do in production. Good as the SDK is, Microsoft has some big issues to solve to address some obvious security issues.

The post Connecting to the Microsoft Graph Using the PowerShell SDK appeared first on Practical 365.

]]>
https://practical365.com/connect-microsoft-graph-powershell-sdk/feed/ 43