Microsoft 365 - PowerShell https://practical365.com/powershell/ Practical Office 365 News, Tips, and Tutorials Tue, 28 Nov 2023 13:06:03 +0000 en-US hourly 1 https://wordpress.org/?v=6.3.2 https://practical365.com/wp-content/uploads/2022/06/favicon.png Microsoft 365 - PowerShell https://practical365.com/powershell/ 32 32 Creating an Exchange Online Inbound Email Traffic Report for the Last 90 Days https://practical365.com/inbound-email-traffic-report-90-days/ https://practical365.com/inbound-email-traffic-report-90-days/#respond Tue, 28 Nov 2023 11:00:00 +0000 https://practical365.com/?p=59431 Exchange Online keeps message trace data online for 10 days. If you want an email traffic report covering longer periods, you need to retrieve historical message data (for up to 90 days) and report that data. That's the easy description. This article explains some of the complexities involved in generating a 90-day email traffic report for a Microsoft 365 tenant.

The post Creating an Exchange Online Inbound Email Traffic Report for the Last 90 Days appeared first on Practical 365.

]]>
https://practical365.com/inbound-email-traffic-report-90-days/feed/ 0
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
Working with Entra ID Directory Extensions Through the Microsoft Graph PowerShell SDK https://practical365.com/directory-extensions-entra-d/ https://practical365.com/directory-extensions-entra-d/#respond Mon, 13 Nov 2023 11:00:00 +0000 https://practical365.com/?p=59322 Directory extensions allow organizations to customize the data stored for Entra ID objects such as users, groups, and devices, You need to create and manage directory extensions with PowerShell. This article explains how to do the job with cmdlets from the Microsoft Graph PowerShell SDK.

The post Working with Entra ID Directory Extensions Through the Microsoft Graph PowerShell SDK appeared first on Practical 365.

]]>
https://practical365.com/directory-extensions-entra-d/feed/ 0
Understanding Exchange Shared Mailbox Permissions https://practical365.com/understanding-exchange-shared-mailbox-permissions/ https://practical365.com/understanding-exchange-shared-mailbox-permissions/#comments Wed, 08 Nov 2023 11:00:00 +0000 https://practical365.com/?p=59464 Shared mailboxes are widely used in Exchange and their permissions are relatively simple to set and manage. In this blog, Jaap Wesselius deep dives into Understand Exchange shared mailbox permissions and walks you through how to grant permissions in different Exchange environments.

The post Understanding Exchange Shared Mailbox Permissions appeared first on Practical 365.

]]>
https://practical365.com/understanding-exchange-shared-mailbox-permissions/feed/ 2
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
How to Check Licenses Before Assignment to Entra ID Accounts https://practical365.com/license-assignment-checks/ https://practical365.com/license-assignment-checks/#respond Mon, 23 Oct 2023 09:00:00 +0000 https://practical365.com/?p=59276 License assignment to Entra ID accounts with PowerShell is easy if licenses are available and the account doesn't already have the license. In this article, we explore how to check license availability and make sure that we don't try to assign a license that's already present.

The post How to Check Licenses Before Assignment to Entra ID Accounts appeared first on Practical 365.

]]>
https://practical365.com/license-assignment-checks/feed/ 0
Challenges of PowerShell Scripting with Microsoft 365 https://practical365.com/challenges-of-powershell-scripting-with-microsoft-365/ https://practical365.com/challenges-of-powershell-scripting-with-microsoft-365/#comments Mon, 16 Oct 2023 10:00:00 +0000 https://practical365.com/?p=59325 You might think that maintaining scripts and processes utilizing PowerShell is a lot of work. And truth be told, it can be. In this blog, Michel De Rooij dives into some practical tips to stay on top of your scripts.

The post Challenges of PowerShell Scripting with Microsoft 365 appeared first on Practical 365.

]]>
https://practical365.com/challenges-of-powershell-scripting-with-microsoft-365/feed/ 1
How to Report Microsoft 365 Licenses Assigned Through Group-Based Licensing https://practical365.com/group-based-licensing-report/ https://practical365.com/group-based-licensing-report/#comments Mon, 09 Oct 2023 10:00:00 +0000 https://practical365.com/?p=59285 Group-based licensing is a simple way to automate the distribution of licenses to members of security groups. In this article, we review how the mechanism works and show how to automate operations with PowerShell. Finally, we update the tenant licensing report to include group-based licensing and to highlight duplicate license assignments.

The post How to Report Microsoft 365 Licenses Assigned Through Group-Based Licensing appeared first on Practical 365.

]]>
https://practical365.com/group-based-licensing-report/feed/ 9
Bulk License Assignment with the Microsoft Graph PowerShell SDK https://practical365.com/bulk-license-assignment-with-the-microsoft-graph-powershell-sdk/ https://practical365.com/bulk-license-assignment-with-the-microsoft-graph-powershell-sdk/#comments Mon, 04 Sep 2023 10:00:00 +0000 https://practical365.com/?p=59002 A reader asked how to use a CSV file for bulk license assignment with the Microsoft Graph PowerShell SDK. We didn't have one to hand, so we wrote a new script to illustrate the principles of how to process license assignments for a set of user accounts (which don't necessarily have to come from a CSV file). We even included some error handling!

The post Bulk License Assignment with the Microsoft Graph PowerShell SDK appeared first on Practical 365.

]]>
https://practical365.com/bulk-license-assignment-with-the-microsoft-graph-powershell-sdk/feed/ 12
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