Microsoft Graph PowerShell SDK Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Wed, 08 Nov 2023 11:08:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Microsoft Graph PowerShell SDK Archives - Practical 365 32 32 Building a Teams External Access Allow List from External Chats https://practical365.com/teams-external-access-allowlist/ https://practical365.com/teams-external-access-allowlist/#comments Tue, 07 Nov 2023 11:00:00 +0000 https://practical365.com/?p=59459 A Teams external access whitelist controls the domains that users can connect to for federated chats. Organizations often limit federation using a whitelist to reduce the possibility of attacks through chat communications. This article explains how administrators can discover the set of domains users chat with by analyzing chat information using the Microsoft Graph PowerShell SDK.

The post Building a Teams External Access Allow List from External Chats appeared first on Practical 365.

]]>
https://practical365.com/teams-external-access-allowlist/feed/ 3
Secure Interactive Access to the Microsoft Graph PowerShell SDK https://practical365.com/secure-internet-access-microsoft-graph-powershell-sdk/ https://practical365.com/secure-internet-access-microsoft-graph-powershell-sdk/#comments Mon, 21 Aug 2023 10:00:00 +0000 https://practical365.com/?p=58958 The Microsoft Graph PowerShell SDK uses a default enterprise app to hold its permissions. Over time, the SDK can accrue many permissions, so it's important to control interactive access to it. In this article, we review how to lock down the SDK app and how to create new registered apps for use with the Graph SDK.

The post Secure Interactive Access to the Microsoft Graph PowerShell SDK appeared first on Practical 365.

]]>
https://practical365.com/secure-internet-access-microsoft-graph-powershell-sdk/feed/ 4
Microsoft Sets March 2024 Date for Retirement of Old Azure AD PowerShell Modules https://practical365.com/march-2024-retirement-old-azure-ad-modules/ https://practical365.com/march-2024-retirement-old-azure-ad-modules/#comments Fri, 16 Jun 2023 11:36:01 +0000 https://practical365.com/?p=58721 After much humming and hawing, Microsoft reset the retirement date for several old Azure AD modules to March 30, 2024. The nine-month extension is there to help customers convert scripts to use the Microsoft Graph PowerShell SDK or Graph API requests. On the upside, the extra time is good as it creates space to migrate scripts. On the downside, there's still some challenges in converting from the old Azure AD modules.

The post Microsoft Sets March 2024 Date for Retirement of Old Azure AD PowerShell Modules appeared first on Practical 365.

]]>
https://practical365.com/march-2024-retirement-old-azure-ad-modules/feed/ 4
How to Find the Right Set of Azure AD User Objects or Mailboxes to Process with PowerShell https://practical365.com/find-azure-ad-users-powershell/ https://practical365.com/find-azure-ad-users-powershell/#comments Mon, 08 May 2023 10:00:00 +0000 https://practical365.com/?p=58457 Many PowerShell scripts written to automate operations in Microsoft 365 tenants fetch Azure AD users or mailboxes to process. In this article, we explain how to fetch user objects effectively by using filters to make sure that scripts process the right set of accounts or mailboxes.

The post How to Find the Right Set of Azure AD User Objects or Mailboxes to Process with PowerShell appeared first on Practical 365.

]]>
https://practical365.com/find-azure-ad-users-powershell/feed/ 7
How to Deal with Common Errors when Running Graph Commands with PowerShell https://practical365.com/common-graph-api-errors-powershell/ https://practical365.com/common-graph-api-errors-powershell/#comments Mon, 06 Feb 2023 11:00:00 +0000 https://practical365.com/?p=57962 It's great to be able to run Graph API requests in PowerShell scripts if everything goes right. This article describes why some common Graph API errors occur in scripts and what to do when the errors happen. Most errors are due to permissions assigned to the Azure AD apps used to run scripts and getting the basics will resolve those problems.

The post How to Deal with Common Errors when Running Graph Commands with PowerShell appeared first on Practical 365.

]]>
https://practical365.com/common-graph-api-errors-powershell/feed/ 4
Introduction to the Microsoft Graph PowerShell SDK Part III: Interacting with Exchange Online and SharePoint Online https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk-part-iii-interacting-with-exchange-online-and-sharepoint-online/ https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk-part-iii-interacting-with-exchange-online-and-sharepoint-online/#respond Wed, 23 Nov 2022 12:00:00 +0000 https://practical365.com/?p=57491 In this article, Sean McAvinue explains how to Microsoft Graph PowerShell SDK to Interact with Exchange Online and SharePoint Online.

The post Introduction to the Microsoft Graph PowerShell SDK Part III: Interacting with Exchange Online and SharePoint Online appeared first on Practical 365.

]]>
https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk-part-iii-interacting-with-exchange-online-and-sharepoint-online/feed/ 0
The Many Ways to Send Email via the Microsoft Graph https://practical365.com/send-email-powershell-graph/ https://practical365.com/send-email-powershell-graph/#comments Tue, 01 Nov 2022 10:00:00 +0000 https://practical365.com/?p=57352 For those wanting to eliminate the SMTP AUTH protocol, Microsoft has three ways to send email using Graph APIs. This article looks at how to use the Send-MgUserMail cmdlet and compares it to the Send-MgUserMessage cmdlet (covered in depth in a previous article). Our conclusion is that you'll probably end up using Send0-MgUserMail because it's easier to use.

The post The Many Ways to Send Email via the Microsoft Graph appeared first on Practical 365.

]]>
https://practical365.com/send-email-powershell-graph/feed/ 4
Updating Microsoft Graph PowerShell Modules for Azure Automation https://practical365.com/update-graph-sdk-azure-automation/ https://practical365.com/update-graph-sdk-azure-automation/#comments Thu, 20 Oct 2022 10:00:00 +0000 https://practical365.com/?p=57308 Every month, Microsoft generates a new version of the Graph PowerShell SDK. And if you use the SDK with Azure Automation, you must update automation accounts with the new modules. That's a pain to do manually, but easy to automate with PowerShell as we explain here.

The post Updating Microsoft Graph PowerShell Modules for Azure Automation appeared first on Practical 365.

]]>
https://practical365.com/update-graph-sdk-azure-automation/feed/ 1
Introduction to the Microsoft Graph PowerShell SDK Part II: Performing Common User and Group Operations https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk-part-ii-performing-common-user-and-group-operations/ https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk-part-ii-performing-common-user-and-group-operations/#respond Mon, 10 Oct 2022 10:00:00 +0000 https://practical365.com/?p=57326 This article dives deep into using the SDK to perform common day-to-day tasks to manage users and groups through the Graph. Be on the look out for the next part of this series!

The post Introduction to the Microsoft Graph PowerShell SDK Part II: Performing Common User and Group Operations appeared first on Practical 365.

]]>
https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk-part-ii-performing-common-user-and-group-operations/feed/ 0
Introduction to the Microsoft Graph PowerShell SDK https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk/ https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk/#comments Wed, 28 Sep 2022 10:00:00 +0000 https://practical365.com/?p=57265 A Unified Approach to Microsoft 365 management The Microsoft Graph API has been around for some time now and Microsoft is moving more management functions (such as License Management for Azure AD Accounts) to the platform. When Microsoft transitions a function to the Graph, organizations might have to update PowerShell scripts. Getting started with the […]

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

]]>
https://practical365.com/introduction-to-the-microsoft-graph-powershell-sdk/feed/ 1