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

Sruthy

Sruthy
January 1, 2026
2025 Recap: Updates, Automation & Smarter Mangement

2025 Recap: Updates, Automation & Smarter Mangement

Review key Microsoft 365 developments from 2025 including Teams meeting verification checks, sensitive content detection during screen sharing, and security configurations. Explore PowerShell automation solutions, tenant management improvements, and productivity enhancements that helped administrators streamline their daily operations and strengthen organizational security posture.

Exchange Online
Sruthy
March 13, 2025
How to Prevent Users from Adding OneDrive into ChatGPT

How to Prevent Users from Adding OneDrive into ChatGPT

Prevent users from connecting OneDrive accounts to ChatGPT by blocking user consent to third-party applications in Microsoft Entra ID. Configure consent settings requiring admin approval for apps requesting access to organizational files, protecting sensitive data from exposure to external AI services.

Microsoft 365
Sruthy
March 6, 2025
New Limit for Dynamic Distribution Groups in Exchange Online

New Limit for Dynamic Distribution Groups in Exchange Online

Manage Exchange Online dynamic distribution groups within the new 3000-group limit per tenant effective April 2025. Use mail flow reports to identify unused DDGs, export group details, and delete obsolete groups using PowerShell or Exchange admin center to stay within organizational limits.

Exchange Online
Sruthy
January 16, 2025
Manage Permission Levels in SharePoint Online Using PowerShell

Manage Permission Levels in SharePoint Online Using PowerShell

Manage SharePoint Online permission levels using PowerShell to create, modify, copy, and delete custom permissions. Configure granular access rights beyond default levels like Full Control, Edit, and Contribute. Assign appropriate permissions to users and groups based on their collaboration requirements.

Microsoft 365
Sruthy
December 12, 2024
Restrict Emails to External Addresses in Microsoft 365

Restrict Emails to External Addresses in Microsoft 365

Block Microsoft 365 users from sending emails to external recipients using Exchange Online mail flow rules. Create transport rules to restrict outbound email to internal addresses only, protecting organizational data from unauthorized external communication and potential data leakage.

Exchange Online
Sruthy
October 17, 2024
Configure Preservation Lock to Restrict Changes to Retention & Label Policies

Configure Preservation Lock to Restrict Changes to Retention & Label Policies

Configure preservation lock in Microsoft Purview to prevent modifications to retention and label policies meeting regulatory compliance requirements. Lock policies to restrict changes during legal holds or compliance periods, ensuring data retention settings remain unchanged for investigations and audits.

Microsoft 365
Sruthy
August 1, 2024
How to Change Primary SMTP Address in Microsoft 365

How to Change Primary SMTP Address in Microsoft 365

Change primary SMTP addresses for Exchange Online mailboxes using Microsoft 365 admin center or PowerShell. Update default email addresses for single users or bulk operations during domain migrations, mailbox conversions, or organizational restructuring. Modify alias addresses to primary SMTP.

Exchange Online
Sruthy
June 13, 2024
How to Add a Shared Mailbox to Outlook Profile as a Secondary Account?

How to Add a Shared Mailbox to Outlook Profile as a Secondary Account?

Add shared mailboxes as secondary accounts in Outlook to receive calendar event reminders. Disable automapping and configure full access permissions to display shared mailbox calendars with proper notifications instead of adding as folders without reminder functionality.

Exchange Online
Sruthy
May 9, 2024
Customize Meeting Invitations in Microsoft Teams

Customize Meeting Invitations in Microsoft Teams

Customize Microsoft Teams meeting email invitations with organization logos, legal disclaimers, help URLs, and custom text. Configure branding through Teams admin center meeting settings to establish organizational identity and protect users from phishing attacks.

Microsoft 365
Sruthy
April 25, 2024
Search and Delete Email Messages in Microsoft 365

Search and Delete Email Messages in Microsoft 365

Search and delete malicious emails across Microsoft 365 mailboxes using New-ComplianceSearch and compliance purge actions in Microsoft Purview. Remove phishing messages, spam, and dangerous attachments organization-wide based on sender, subject, or content criteria.

Exchange Online

Recent Posts

  • How to Find and Unpublish Internet Calendars in Microsoft 365
  • 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

Sign up for M365Scripts

AdminDroid
One tool solution for complete Microsoft 365 Management

Automate, audit, and more in one place.

Get Started for Free