Microsoft 365 Scripts

Microsoft 365 scripts repository

All Posts
News
Security
Microsoft 365
Microsoft Teams
Exchange Online
SharePoint Online
The smarter way to manage Microsoft 365. Try AdminDroid for free!

Microsoft 365 Scripts

m365scripts.com

Browsed by Author

Aima

Aima
January 29, 2026
How to Create and Manage Inbox Rules for Shared Mailboxes in Outlook

How to Create and Manage Inbox Rules for Shared Mailboxes in Outlook

Shared mailboxes support collaboration, but high email volume can be overwhelming. Organizing emails with inbox rules helps teams manage this more efficiently and reduce manual effort. This blog explains how to create, configure, and manage inbox rules for shared mailboxes, including common scenarios like auto-sorting emails, anti-spam cleanup, etc.

Exchange Online
Aima
January 15, 2026
Difference Between Root Site, Home Site, and Hub Site in SharePoint

Difference Between Root Site, Home Site, and Hub Site in SharePoint

Understand the distinctions between SharePoint root site, home site, and hub site to build an effective intranet structure. The root site serves as the tenant anchor, home sites provide organizational landing pages with Viva Connections integration, and hub sites connect related sites through shared navigation and branding. Choose the right configuration for your needs.

SharePoint Online
Aima
December 25, 2025
How to Find the Right Scope for Microsoft Graph Cmdlets

How to Find the Right Scope for Microsoft Graph Cmdlets

Identify the correct Microsoft Graph PowerShell scopes by understanding delegated versus application permissions. Stop guessing permissions and follow the principle of least privilege when connecting to Graph API. Use proper scope naming patterns like User.Read.All or Mail.Send to grant only necessary access for your automation scripts and applications.

Microsoft 365
Aima
September 18, 2025
Add External Users to a Distribution Group in Exchange Online

Add External Users to a Distribution Group in Exchange Online

Add external users to Exchange Online distribution groups by first creating mail contacts with external email addresses. Understand the differences between MailContact, MailUser, and GuestMailUser types to determine when contacts are needed versus direct group membership for external collaboration.

Exchange Online
Aima
August 28, 2025
How to Set Immutable ID to Null Using MS Graph

How to Set Immutable ID to Null Using MS Graph

Clear the Immutable ID attribute in Microsoft Entra ID using Microsoft Graph PowerShell when migrating from hybrid to cloud-only identity. Reset the SourceAnchor value to unlink on-premises Active Directory accounts or prepare users for re-synchronization with a different AD environment.

Microsoft 365
Aima
January 23, 2025
How to Check Mailbox Size in Microsoft 365

How to Check Mailbox Size in Microsoft 365

Monitor Exchange Online mailbox sizes across your organization using Microsoft 365 admin center, Exchange admin center, or PowerShell. Identify users approaching storage limits, understand quota thresholds by license type, and proactively manage mailbox storage to prevent email delivery disruptions.

Exchange Online
Aima
November 28, 2024
Fix Room Mailbox Calendar Showing Organizer’s Name Instead of Subject

Fix Room Mailbox Calendar Showing Organizer’s Name Instead of Subject

Configure Exchange Online room mailbox settings to display actual meeting subjects instead of organizer names on calendars. Modify AddOrganizerToSubject and DeleteSubject parameters using PowerShell to show original meeting titles while maintaining appropriate privacy controls for room resources.

Exchange Online
Aima
November 21, 2024
Recover Mailbox Data with Delicensing Resiliency Feature in Exchange Online

Recover Mailbox Data with Delicensing Resiliency Feature in Exchange Online

Enable Exchange Online Delicensing Resiliency to prevent mailbox data loss from accidental license removal. Gain an additional 30-day grace period beyond the default retention window, receive proactive notifications, and recover mailbox access after unintentional delicensing events in your tenant.

Exchange Online
Aima
November 7, 2024
Create Dynamic Distribution Lists Based on Email Domain

Create Dynamic Distribution Lists Based on Email Domain

Create dynamic distribution groups in Exchange Online based on email domain to automatically include users with specific domain addresses. Configure recipient filters to target users across multiple domains within your tenant for targeted organizational communications without manual membership management.

Exchange Online
Aima
September 26, 2024
Manage Additional Email Address in Exchange Online

Manage Additional Email Address in Exchange Online

Add or remove proxy addresses and email aliases for Exchange Online mailboxes using Exchange admin center or PowerShell. Manage additional email addresses for users, distribution groups, and shared mailboxes. Configure secondary SMTP addresses for departments, projects, or role-based communications.

Exchange Online

Recent Posts

  • Difference Between ‘Sync’ and ‘Add Shortcut to OneDrive’ in SharePoint Online
  • Restrict Private Messaging in Microsoft Teams Using Supervised Chats
  • How to Create and Manage Inbox Rules for Shared Mailboxes in Outlook
  • How to Block Specific Team members from Communicating with Others
  • Difference Between Root Site, Home Site, and Hub Site in SharePoint

Sign up for M365Scripts

AdminDroid
One tool solution for complete Microsoft 365 Management

Automate, audit, and more in one place.

Get Started for Free