The UserType field, introduced by Microsoft in 2014, categorizes users as either “Guest” or “Member.” Older accounts that were created before this change may not have this field populated, leading to complications in user management and backup processes. As Microsoft has migrated Azure AD to Entra ID, the UserType field is now mandatory. This article outlines the steps to manually populate the UserType field in Entra ID.
To resolve the issue, you can use PowerShell commands to identify users with an empty UserType field and update them accordingly.
Before running any commands, ensure that you have the Azure AD module installed. Open PowerShell and execute the following command:
Install-Module -Name AzureAD
Identify any users with an empty UserType.
Get-AzureADUser -All $true | Where-Object UserType -eq $null
Once you have identified the users with an empty UserType, populate this field as either “Member” or “Guest”, depending on the user’s role within your organization. To set the UserType to “Guest”, replace “Member” with “Guest” in the command.
Get-AzureADUser -All $true | Where-Object UserType -eq $null | Set-AzureADUser -UserType Member
Now you are ready to back up the changes in Cloud-to-Cloud Backup. Manually initiate a backup for Entra ID. This will ensure that all user data, including the newly populated UserType fields, is securely backed up.
Go to the Protect page.
Select Entra ID.
Click Back Up Now.