Microsoft 365 - Microsoft Graph https://practical365.com/microsoft-graph/ Practical Office 365 News, Tips, and Tutorials Fri, 10 Nov 2023 20:39:38 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Microsoft 365 - Microsoft Graph https://practical365.com/microsoft-graph/ 32 32 Using Power Automate and Azure Automation to Manage the Lifecycle of SharePoint Sites https://practical365.com/using-power-automate-and-azure-automation-to-manage-the-lifecycle-of-sharepoint-sites/ https://practical365.com/using-power-automate-and-azure-automation-to-manage-the-lifecycle-of-sharepoint-sites/#respond Tue, 14 Nov 2023 11:00:00 +0000 https://practical365.com/?p=59492 A key aspect of a well-managed Microsoft 365 environment is to ensure that SharePoint sites are removed when they are no longer needed. In this blog, Sean McAvinue explores how to combine relatively basic PowerShell and Azure Automation skills with Power Automate to create a clean, robust way to manage the lifecycle of SharePoint sites in your Microsoft 365 tenant.

The post Using Power Automate and Azure Automation to Manage the Lifecycle of SharePoint Sites appeared first on Practical 365.

]]>
https://practical365.com/using-power-automate-and-azure-automation-to-manage-the-lifecycle-of-sharepoint-sites/feed/ 0
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
Upgrading the Planner Report Script to Add An Incomplete Task Analysis https://practical365.com/planner-graph-api-2/ https://practical365.com/planner-graph-api-2/#respond Mon, 12 Jun 2023 10:00:00 +0000 https://practical365.com/?p=58674 In the first article about using the Planner Graph API to report details of plans in a Microsoft 365 tenant, we explained the basics of how to extract data about plans, tasks, and buckets to create a report using a PowerShell script. Now we take the lessons learned a step forward to illustrate the principle that with access to data, the possibility for creative use of that data is boundless and upgrade the script to include a listing of incomplete tasks and per-user analysis of incomplete tasks for each plan.

The post Upgrading the Planner Report Script to Add An Incomplete Task Analysis appeared first on Practical 365.

]]>
https://practical365.com/planner-graph-api-2/feed/ 0
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
Reporting Meeting Room Statistics with PowerShell and the Microsoft Graph https://practical365.com/report-room-mailbox-statistics/ https://practical365.com/report-room-mailbox-statistics/#comments Mon, 05 Dec 2022 11:00:00 +0000 https://practical365.com/?p=57599 This article explains how to use the Microsoft Graph API and PowerShell to extract meeting data from the calendars of room mailboxes to generate statistics about the usage of the rooms. Only confirmed meetings are included in the data.

The post Reporting Meeting Room Statistics with PowerShell and the Microsoft Graph appeared first on Practical 365.

]]>
https://practical365.com/report-room-mailbox-statistics/feed/ 76
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
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 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
How to Find Microsoft 365 Groups with Guest Members https://practical365.com/microsoft-365-groups-with-guest-members/ https://practical365.com/microsoft-365-groups-with-guest-members/#comments Tue, 26 Jul 2022 04:52:00 +0000 https://practical365.com/?p=56839 In this article, we consider the best way to use PowerShell to find the set of Microsoft 365 Groups with guest members. And once we find those groups, we can check if they have a suitable sensitivity label.

The post How to Find Microsoft 365 Groups with Guest Members appeared first on Practical 365.

]]>
https://practical365.com/microsoft-365-groups-with-guest-members/feed/ 2
Creating a New Microsoft 365 Group with the Microsoft PowerShell Graph SDK https://practical365.com/create-new-microsoft-365-group-sdk/ https://practical365.com/create-new-microsoft-365-group-sdk/#comments Mon, 11 Jul 2022 00:00:00 +0000 https://practical365.com/?p=56788 In this article we discuss how to create a new Microsoft 365 group using cmdlets from the Microsoft Graph PowerShell SDK. After creating the new group, we use the New-MgTeam cmdlet to team-enable the group.

The post Creating a New Microsoft 365 Group with the Microsoft PowerShell Graph SDK appeared first on Practical 365.

]]>
https://practical365.com/create-new-microsoft-365-group-sdk/feed/ 1