Skip to content

Sample Scripts

This section contains a collection of sample scripts that automate managing the different services in Microsoft 365.

If you'd like to add your script to the collection, let us know by submitting an issue on GitHub.

You can browse the scripts by workload, using the navigation, or by topics, using the list below.

adaptivecards

adoption

ai

apps

attachments

azure

cleanup

compliance

customizations

download file

files

flows

groups

guests

libraries

listitems

lists

migration

pages

pipelines

provisioning

reports

security

sites

tasks

teams

users