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

Shan

Shan
May 29, 2025
How to Use Approvals App in Microsoft Teams

How to Use Approvals App in Microsoft Teams

Centralize approval workflows using the Microsoft Teams Approvals app integrated with Power Automate, SharePoint, and Dynamics 365. Create, manage, and respond to approval requests directly within Teams without switching applications. Store approval data in Microsoft Dataverse for tracking and compliance purposes.

Microsoft Teams
Shan
March 1, 2024
Prevent Microsoft 365 Users From Changing Profile Photos Using PowerShell

Prevent Microsoft 365 Users From Changing Profile Photos Using PowerShell

Prevent Microsoft 365 users from changing profile photos by creating OWA mailbox policies with SetPhotoEnabled disabled. Apply policies to individual users or organization-wide to maintain professional appearance standards and enforce corporate identity guidelines.

Exchange Online
Shan
February 8, 2024
How to Create SPO Alerts on Files, Folders, Lists & Documents

How to Create SPO Alerts on Files, Folders, Lists & Documents

Create SharePoint Online alerts on files, folders, lists, and document libraries to receive notifications about content changes. Configure email or text alerts for modifications, deletions, or additions. Note: SharePoint Alerts feature retiring July 2026, migrate to Power Automate.

Security
Shan
November 24, 2023
Manage Microsoft 365 User Photos using MS Graph PowerShell

Manage Microsoft 365 User Photos using MS Graph PowerShell

Manage Microsoft 365 user photos using Microsoft Graph PowerShell as the legacy Get-UserPhoto, Set-UserPhoto, and Remove-UserPhoto cmdlets retire. Update profile pictures programmatically through the admin center or Graph API to maintain professional branding and automate user onboarding photo management.

Microsoft 365
Shan
September 26, 2023
Restrict OneDrive Access by Security Groups

Restrict OneDrive Access by Security Groups

Restrict OneDrive access by security groups using SharePoint Advanced Management to control who can access personal cloud storage. Implement restricted access control policies requiring Microsoft 365 E5 or Syntex licenses to limit OneDrive availability to designated security group members only.

Microsoft 365
Shan
September 22, 2023
SharePoint Page Sharing Feature – A Quick Guide

SharePoint Page Sharing Feature – A Quick Guide

Share SharePoint Online pages directly with colleagues and external partners without complex permission configurations. Use the new page sharing feature to grant access quickly through the Share button, enabling efficient collaboration on informative content including images, documents, videos, and other multimedia elements.

Microsoft 365
Shan
August 10, 2023
Manage Presence Status in Microsoft Teams Using MS Graph PowerShell

Manage Presence Status in Microsoft Teams Using MS Graph PowerShell

Manage Microsoft Teams presence status using MS Graph PowerShell to control user availability indicators. Retrieve and update presence settings programmatically since Teams admin center lacks presence management capabilities. Configure available, busy, do not disturb, and away statuses for effective team communication.

Microsoft 365
Shan
May 30, 2023
Group Policy Assignments Using Microsoft Teams PowerShell

Group Policy Assignments Using Microsoft Teams PowerShell

Assign group policies using Microsoft Teams PowerShell module to manage messaging, meetings, calling, and conferencing settings. Apply policies to Microsoft 365 groups, distribution lists, and security groups with precedence rules. Control security settings including anonymous meeting access through efficient group policy assignments.

Microsoft 365

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