Tech Community Live: Endpoint Manager edition
Jul 21 2022, 08:00 AM - 12:00 PM (PDT)

MDM Authority change

Contributor

Hello everyone,

 

I'm not able to change MDM authority from O365 to Intune. All of the guides refer to some banner to pop up which is not happening in my case

 

nikitamobile855_0-1648125853627.png

 

4 Replies
Yeah, here is the same issue!
Want to change for Intune management, but can't find any way.
Also, i want to change the default Windows Hello policy, but "save" button is greyed out
Found a way to do it!
See the threat bellow
https://docs.microsoft.com/en-us/answers/questions/57463/set-up-mdm-authority-to-intune.html

There is a reply down that says:
"Been struggling to find the same and managed to get switched to Intune using this workaround:

https://intuneeducation.portal.azure.com/#blade/Microsoft_Intune_Edu/TenantSettingsMenuBlade/TenantD..."

Basic, it's open de the intune for school. And then asks to change the authoroty to Intune.
Back to enterprise intune you see the MDM has changed.

Maybe using a powershell script to change it ?


Connect-MSGraph
$mdmAuth = (Invoke-MSGraphRequest -Url "https://graph.microsoft.com/beta/organization('$OrgId')?`$select=mobiledevicemanagementauthority" -HttpMethod Get -ErrorAction Stop).mobileDeviceManagementAuthority

# Intune Instellen als MDM Authority

if($mdmAuth -notlike "intune")
{
$OrgID = (Invoke-MSGraphRequest -Url "https://graph.microsoft.com/v1.0/organization" -HttpMethod Get -ErrorAction Stop).value.id
Invoke-MSGraphRequest -Url "https://graph.microsoft.com/v1.0/organization/$OrgID/setMobileDeviceManagementAuthority" -HttpMethod Post -ErrorAction Stop
}

as mentioned in this blog 
https://call4cloud.nl/2021/01/intune-battle-of-the-mdm-authority/