Microsoft Graph PowerShell SDK Archives - Practical 365 Practical Office 365 News, Tips, and Tutorials Sat, 10 Aug 2024 15:29:37 +0000 en-US hourly 1 https://wordpress.org/?v=6.6.1 https://practical365.com/wp-content/uploads/2022/06/favicon.png Microsoft Graph PowerShell SDK Archives - Practical 365 32 32 Practical Graph: Working with Exchange Online Mailbox Data https://practical365.com/mail-folders-and-messages-graph/ https://practical365.com/mail-folders-and-messages-graph/#respond Thu, 15 Aug 2024 10:00:00 +0000 https://practical365.com/?p=61001 Exchange Online mail folders and messages are a very important resource for Microsoft 365 tenants. This article discusses how to use cmdlets from the Microsoft Graph PowerShell SDK to retrieve information about mailbox folders and mail messages together with some performance tips for dealing with folders that store thousands of messages.

The post Practical Graph: Working with Exchange Online Mailbox Data appeared first on Practical 365.

]]>
https://practical365.com/mail-folders-and-messages-graph/feed/ 0
Practical Graph: Using GitHub Copilot for Microsoft 365 PowerShell Development https://practical365.com/github-copilot-powershell/ https://practical365.com/github-copilot-powershell/#comments Tue, 16 Jul 2024 10:00:00 +0000 https://practical365.com/?p=61121 GitHub Copilot costs $10/month. At that price level, anyone working with PowerShell should try out the AI assistance to see if it helps. But will GitHub Copilot work well with Microsoft 365 PowerShell modules like Exchange Online and the Microsoft Graph PowerShell SDK. That's what we tested and report on here.

The post Practical Graph: Using GitHub Copilot for Microsoft 365 PowerShell Development appeared first on Practical 365.

]]>
https://practical365.com/github-copilot-powershell/feed/ 2
Practical Graph: Microsoft Launches Entra PowerShell Module https://practical365.com/entra-powershell-module/ https://practical365.com/entra-powershell-module/#comments Mon, 01 Jul 2024 10:00:00 +0000 https://practical365.com/?p=61153 On June 27, 2024, Microsoft launched the preview of the Entra PowerShell module. Built on top of the Microsoft Graph PowerShell SDK, the new module helps organizations that still have PowerShell scripts based on the now-deprecated AzureAD and AzureADPreview modules. If you're in that situation, the Entra module might help. But I recommend using the Microsoft Graph PowerShell SDK instead.

The post Practical Graph: Microsoft Launches Entra PowerShell Module appeared first on Practical 365.

]]>
https://practical365.com/entra-powershell-module/feed/ 2
Practical Graph: Create a Files Report for a OneDrive for Business Account https://practical365.com/onedrive-for-business-account-files/ https://practical365.com/onedrive-for-business-account-files/#comments Mon, 03 Jun 2024 10:00:00 +0000 https://practical365.com/?p=60823 This article explains how to use PowerShell to create a report listing the files from a OneDrive for Business account. Because so many Microsoft 365 apps store their files in OneDrive (and other apps too), OneDrive can become a form of dumping ground for data. Seeing file information in the report allows account owners to clean up their digital debris.

The post Practical Graph: Create a Files Report for a OneDrive for Business Account appeared first on Practical 365.

]]>
https://practical365.com/onedrive-for-business-account-files/feed/ 4
Practical Graph: Working with Teams Messaging https://practical365.com/teams-messaging-powershell/ https://practical365.com/teams-messaging-powershell/#respond Wed, 29 May 2024 10:00:00 +0000 https://practical365.com/?p=60774 This article describes how to use the Microsoft Graph PowerShell SDK to interact with Teams messaging to create new one-to-one and group chats and post messages to chats and channel conversations.

The post Practical Graph: Working with Teams Messaging appeared first on Practical 365.

]]>
https://practical365.com/teams-messaging-powershell/feed/ 0
Practical Graph: Report SharePoint Online Files in a Document Library https://practical365.com/sharepoint-online-files-report/ https://practical365.com/sharepoint-online-files-report/#comments Mon, 06 May 2024 10:00:00 +0000 https://practical365.com/?p=60808 This article describes creating a SharePoint Online files report using the Microsoft Graph PowerShell SDK. While keeping digital debris online might have been unimportant in the past, it's something that can wreak havoc in the era of generative AI when tools like Copilot for Microsoft 365 are happy to consume obsolete and inaccurate material.

The post Practical Graph: Report SharePoint Online Files in a Document Library appeared first on Practical 365.

]]>
https://practical365.com/sharepoint-online-files-report/feed/ 2
Practical Graph: All About Pagination and Fetching Data https://practical365.com/pagination-graph-sdk/ https://practical365.com/pagination-graph-sdk/#comments Tue, 02 Apr 2024 15:46:41 +0000 https://practical365.com/?p=60614 When you're new to Graph API requests, you might not know pagination and end up retrieving less data from queries than is available. In this article, we explain how to use pagination to retrieve data using Graph queries and SDK cmdlets.

The post Practical Graph: All About Pagination and Fetching Data appeared first on Practical 365.

]]>
https://practical365.com/pagination-graph-sdk/feed/ 1
Using GitHub Copilot to Upgrade PowerShell Scripts to the Microsoft Graph PowerShell SDK https://practical365.com/using-github-copilot-to-upgrade-powershell-scripts-to-the-microsoft-graph-powershell-sdk/ https://practical365.com/using-github-copilot-to-upgrade-powershell-scripts-to-the-microsoft-graph-powershell-sdk/#respond Tue, 12 Dec 2023 11:00:00 +0000 https://practical365.com/?p=60174 In this blog, Andy Scheider deep dives into GitHub Copilot and how it can be used to upgrade PowerShell Scripts to the Microsoft Graph PowerShell SDK.

The post Using GitHub Copilot to Upgrade PowerShell Scripts to the Microsoft Graph PowerShell SDK appeared first on Practical 365.

]]>
https://practical365.com/using-github-copilot-to-upgrade-powershell-scripts-to-the-microsoft-graph-powershell-sdk/feed/ 0
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/ 7
Practical Graph: 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 Practical Graph: 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/ 9