Microsoft 365 - Microsoft Graph https://practical365.com/microsoft-graph/ 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 365 - Microsoft Graph https://practical365.com/microsoft-graph/ 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: Assign Sensitivity Labels to SharePoint Online Files https://practical365.com/assignsensitivitylabel-api/ https://practical365.com/assignsensitivitylabel-api/#comments Wed, 10 Jul 2024 10:00:00 +0000 https://practical365.com/?p=60934 Microsoft released Graph APIs to read and assign sensitivity labels in 2023. At the time, it was difficult to work with the assignSensitivityLabel API. Now it's easier, and this article explains how to use PowerShell with the API to assign labels to files in a SharePoint Online document library.

The post Practical Graph: Assign Sensitivity Labels to SharePoint Online Files appeared first on Practical 365.

]]>
https://practical365.com/assignsensitivitylabel-api/feed/ 9
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: Find Ownerless and Memberless Groups with Graph APIs https://practical365.com/memberless-groups-graph-api/ https://practical365.com/memberless-groups-graph-api/#respond Wed, 19 Jun 2024 10:00:00 +0000 https://practical365.com/?p=60976 Over time, it's likely that some of the groups in a Microsoft 365 tenant will fall into either the category of memberless groups or ownerless groups. Microsoft has a solution to manage ownerless Microsoft 365 groups, but not the other group types supports by the Graph. This article explains how to find and report memberless groups using the Get-MgGroup cmdlet.

The post Practical Graph: Find Ownerless and Memberless Groups with Graph APIs appeared first on Practical 365.

]]>
https://practical365.com/memberless-groups-graph-api/feed/ 0
Experimenting with PowerShell Batching and Parallel Execution https://practical365.com/powershell-parallel-processing/ https://practical365.com/powershell-parallel-processing/#respond Wed, 12 Jun 2024 10:00:00 +0000 https://practical365.com/?p=60910 PowerShell Parallel Processing is a mechanism to speed the processing of large quantities of data. In this example, we discuss how to use parallel batches to fetch Entra ID account information using mailbox data to drive information retrieval. Although this is only a demonstration of a technique, it might help those who must process thousands of mailboxes or accounts and would like to do so more quickly.

The post Experimenting with PowerShell Batching and Parallel Execution appeared first on Practical 365.

]]>
https://practical365.com/powershell-parallel-processing/feed/ 0
Practical Graph: Using the Microsoft AuditLog Query Graph API (Preview) https://practical365.com/audit-log-query-api/ https://practical365.com/audit-log-query-api/#comments Mon, 15 Apr 2024 10:00:00 +0000 https://practical365.com/?p=60675 The unified audit log is the source of a lot of information about a Microsoft 365 tenant. The Search-UnifiedAuditLog cmdlet is available to search the audit log and now we have the AuditLog Graph API. This article explains how to use the new API to query and retrieve audit records from the log.

The post Practical Graph: Using the Microsoft AuditLog Query Graph API (Preview) appeared first on Practical 365.

]]>
https://practical365.com/audit-log-query-api/feed/ 8
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
Practical Graph: Creating and Updating Planner Tasks https://practical365.com/create-planner-tasks-powershell/ https://practical365.com/create-planner-tasks-powershell/#respond Tue, 19 Mar 2024 10:00:00 +0000 https://practical365.com/?p=60538 In the past, we've described how to use PowerShell to report tasks in Planner plans. This article completes the circle by discussing how to create Planner tasks. The scenario used is synchronizing Microsoft 365 message center notifications to create tasks in a target plan. There are some interesting issues to discuss, like how to assign a label to a task.

The post Practical Graph: Creating and Updating Planner Tasks appeared first on Practical 365.

]]>
https://practical365.com/create-planner-tasks-powershell/feed/ 0
Using PowerShell to Get a Report of Installed Apps https://practical365.com/using-powershell-to-install-apps-on-endpoints/ https://practical365.com/using-powershell-to-install-apps-on-endpoints/#respond Tue, 19 Mar 2024 10:00:00 +0000 https://practical365.com/?p=60621 In this blog, James Yip reviews how to use PowerShell to examine details of managed devices and installed apps on endpoints.

The post Using PowerShell to Get a Report of Installed Apps appeared first on Practical 365.

]]>
https://practical365.com/using-powershell-to-install-apps-on-endpoints/feed/ 0
Microsoft Takes Steps to Offset Midnight Blizzard Damage https://practical365.com/application-impersonation-midnight-blizzard/ https://practical365.com/application-impersonation-midnight-blizzard/#comments Mon, 11 Mar 2024 07:16:03 +0000 https://practical365.com/?p=60617 The fallout from the Midnight Blizzard attack against Microsoft continues as Microsoft takes action to harden the security of its own and customer tenants. One step is to retire the EWS Application Impersonation role. This will happen in February 2025 ahead of the retirement of Exchange Web Services in October 2026.

The post Microsoft Takes Steps to Offset Midnight Blizzard Damage appeared first on Practical 365.

]]>
https://practical365.com/application-impersonation-midnight-blizzard/feed/ 2