Microsoft 365 - PowerShell https://practical365.com/powershell/ 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 - PowerShell https://practical365.com/powershell/ 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
TEC 2024 PowerShell & Conditional Access Workshops https://practical365.com/tec-2024-powershell-conditional-access-workshops/ https://practical365.com/tec-2024-powershell-conditional-access-workshops/#respond Fri, 26 Jul 2024 10:00:00 +0000 https://practical365.com/?p=61233 Don't miss your chance to meet and learn from your favorite Practical 365 Authors at TEC 2024. As a proud sponsor of TEC, we are offering BOGO discounts on exclusive pre-con workshops with authors Michel De Rooij, Jaap Wesselius, and more!

The post TEC 2024 PowerShell & Conditional Access Workshops appeared first on Practical 365.

]]>
https://practical365.com/tec-2024-powershell-conditional-access-workshops/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: 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 PowerShell: Error Handling https://practical365.com/practical-powershell-error-handling/ https://practical365.com/practical-powershell-error-handling/#respond Wed, 03 Jul 2024 10:00:00 +0000 https://practical365.com/?p=61137 When coding in PowerShell, you should anticipate issues. How you deal with these issues is another story. In this episode of Practical PowerShell, we dive into Error Handling.

The post Practical PowerShell: Error Handling appeared first on Practical 365.

]]>
https://practical365.com/practical-powershell-error-handling/feed/ 0
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
TEC 2024 PowerShell Script-Off https://practical365.com/tec-powershell-script-off-24/ https://practical365.com/tec-powershell-script-off-24/#comments Fri, 28 Jun 2024 10:00:00 +0000 https://practical365.com/?p=61126 TEC 2024 in Dallas (October 1-2) will once again feature the TEC PowerShell Script-Off where coders attempt to come up with the best solutions for challenges set by the judges. The challenges are all Microsoft 365 scenarios (Exchange Online, Entra ID, Teams, and SharePoint Online), so there's nothing unknown about what we'll ask people to code. Come along to TEC 2024 and compete to be the best coder in town!

The post TEC 2024 PowerShell Script-Off appeared first on Practical 365.

]]>
https://practical365.com/tec-powershell-script-off-24/feed/ 2
Practical Graph: Report Details of Teams Online Meetings https://practical365.com/teams-online-meetings-report/ https://practical365.com/teams-online-meetings-report/#respond Wed, 26 Jun 2024 10:00:00 +0000 https://practical365.com/?p=60965 The arrival of new Teams audit events allows tenants to analyze data about Teams online meetings. However, the data available in the audit events is incomplete, and the only way to get a full picture is through the Graph APIs. This article explains how to find Teams Online meetings in user calendars, extract information about the meetings, and generate an HTML report.

The post Practical Graph: Report Details of Teams Online Meetings appeared first on Practical 365.

]]>
https://practical365.com/teams-online-meetings-report/feed/ 0
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