# Microsoft 365 Scripts: Manage Microsoft 365 using PowerShell cmdlets \& scripts and stay updated on the latest Microsoft 365 news for streamlined administration Generated by Yoast SEO v28.0, this is an llms.txt file, meant for consumption by LLMs. ## Pages - [All Posts](https://m365scripts.com/all-posts/) ## Posts - [Different Ways to Add Guests to a Team in Microsoft Teams](https://m365scripts.com/microsoft-teams/add-guest-users-to-team-in-microsoft-teams/): Collaborating with users outside an organization is a common part of modern teamwork, and Microsoft Teams makes it easy through guest access\. Whether you’re working with clients, vendors, partners, or contractors, adding them to the right team ensures secure and seamless collaboration\. This blog shows you the different ways to add guest users to a team in Microsoft Teams and help you choose the approach that best fits your organization’s needs\. - [Manage Active Directory User and Group Relationships Using PowerShell Script](https://m365scripts.com/security/manage-active-directory-users-groups-relationship-using-powershell/): Managing user\-group relationships in Active Directory can be challenging, especially when handling group memberships, primary group assignments, and group ownership at scale\. To simplify these tasks, we developed a PowerShell script that supports 16 management actions for both individual and bulk operations\. This blog shows how to use the script to streamline user group relationships\. - [Configure Teams Silent Testing for Proactive Call Quality Monitoring](https://m365scripts.com/microsoft-teams/microsoft-teams-silent-testing/): Microsoft Teams Silent Tests enable admins to proactively detect potential call quality and network issues before they impact users\. By running scheduled, synthetic all tests to specific subnets, admins can monitor network readiness and maintain a consistent meeting experience across the organization\. - [Receive Emails on Unlicensed Admin Accounts Using Mail Flow Rules](https://m365scripts.com/exchange-online/how-to-redirect-emails-to-unlicensed-admins-via-transport-rules/): Configure Exchange Online mail flow rules to redirect emails sent to unlicensed admin accounts to shared mailboxes\. Create mail contacts using the admin UPN as the external address, then set up transport rules to ensure important alerts and service notifications reach administrators without requiring additional licenses\. - [How to Create Adaptive Scopes in Microsoft Purview](https://m365scripts.com/microsoft365/how-to-create-adaptive-scopes-in-microsoft-purview/): Create adaptive scopes in Microsoft Purview to dynamically apply compliance and retention policies based on Entra attributes or site properties\. Eliminate manual policy updates during user onboarding, offboarding, or department changes\. Target users, groups, and SharePoint sites automatically as organizational conditions change for consistent data governance\. ## Categories - [Microsoft 365](https://m365scripts.com/category/microsoft365/) - [Exchange Online](https://m365scripts.com/category/exchange-online/) - [Microsoft Teams](https://m365scripts.com/category/microsoft-teams/) - [Security](https://m365scripts.com/category/security/) - [SharePoint Online](https://m365scripts.com/category/sharepoint-online/) ## Optional - [Sitemap index](https://m365scripts.com/sitemap_index.xml)