Here is a collection of the scripts I use to do OneDrive and Teams migrations from tenant to tenant. If there is separate SharePoint content on the sites connected to the team, this is also migrated over.The docs from ShareGate have a lot of great information on the various PowerShell commands, but there are not … Continue reading My scripts to do a OneDrive and Teams (with SharePoint) tenant to tenant migration with ShareGate
I have created a simple script that can bulk-update user's profile photos in Azure AD / M365. All you need to do is put all the pictures in a folder, name the files with the user's UPN and run my script. The script needs a Graph API permission called User.ReadWrite.All (application rights), so you need … Continue reading Azure AD / M365 profile picture uploader
I've seen many customers try to enforce a written rule of having at least 2 owners of a Microsoft Teams team. Many have been doing this semi-manually, by just taking out a report of teams that has 1 or 0 owners. How would you fully automate this? I have created a routine that with the … Continue reading Automatically send alerts to the last owner of a team! (If you enforce a 2 or more owner policy)
On October 1st Microsoft states in this doc that they are starting to randomly disable Basic Auth in tenants. They even started to disable it last year for tenants that had not used it. It's a good thing they are taking this step to make our tenants more secure. The big questions though is, are … Continue reading Exchange PowerShell without basic auth?
I have created a script that does a count of each file type in all teams in Microsoft Teams.It also shows when that file type was last modified in the team. You need an Azure App registration with the Group.Read.All and Site.Read.All rights.
I recently got an AirThings View Plus environment sensor. When I discovered it had an API I got happy. This meant that I could play around with it in PowerShell. I work from home, and during winter I use a fireplace to keep the house warm. Something I now could do is to send a … Continue reading AirThings notifications in Teams with PowerShell
This blog post is my experience using these two methods and is also a compressed version of them:https://docs.microsoft.com/en-us/microsoft-365/compliance/export-search-results?view=o365-worldwidehttps://docs.microsoft.com/en-us/microsoft-365/compliance/use-network-upload-to-import-pst-files?view=o365-worldwide The question is, do you always need to use a 3rd party tools when doing migrations? Well, at least now you have a free alternative with out-of-the-box tools from Microsoft.Update: The reason I'm not using Cross Tenant … Continue reading Exchange Online Tenant to Tenant migration with free Microsoft methods!
I recently discovered that you now can set presence for an end user using Application rights. Earlier you only could do this with Delegated access. You need an Azure App Registration with the Presence.ReadWrite.All Application right. You can read more about the presence endpoint here. The following combinations of availability and activity is supported in … Continue reading Set presence for an end user in Microsoft Teams!
Here is a short little script to migrate an Exchange Online distribution list from one tenant to a new one.
There's a lot of long manual processes in the Teams Admin Center, like entering configuration profiles for devices like Phones, Panels, Displays, and Teams Rooms on Android. If you work as a consultant, you probably have to redo all this work on each tenant you work on. People maybe add 50-100 profiles for each tenant. … Continue reading Teams Devices Configuration Profiles Uploader