Mar 24 2022 05:45 AM
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
Apr 14 2022 06:31 AM
Apr 14 2022 06:37 AM
Apr 14 2022 08:52 PM
Apr 14 2022 10:39 PM - edited Apr 14 2022 10:39 PM
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/