What is replacing MSOL & AAD StrongAuthenticationRequirement and provisioning errors?

Kane 5 Reputation points
2023-02-23T05:07:02.2433333+00:00

WIth the AzureAD and MSOL PowerShell modules upcoming retirement, I have been doing research into how to replace them and all signs point to the usage of Graph but it appears that there are several if not more features that are missing at present.

Firstly:

The ability to set Strong Authentication methods.

https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethods-overview?view=graph-rest-1.0&preserve-view=true

The document above shows that at present Set-MsolUser is the only way to achieve this. But given its going to be retired potentially at the end of March(!?) how will this be done after this time? Set-AzureADUser has never had this capability and is also going away. Update-MgUser appears to not cover this at all either.

Also shown here is a document still showing the user of Set-Msoluser despite the deprecation and upcoming retirement:
https://learn.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa-userstates

Secondly:

How does one pull the provisioning errors that can happen for investigation? Traditionally Get-MsolUser and Get-AzureADUser allow at least the ability to see these errors to allow for investigation. The current replacement I have found Get-MGUser does not appear to make this information available.

With these being retired as soon as March or June 30 depending on who you ask there is at present no way to achieve this in the mean time and is a significant impact on our capability to provision users. We have tens of thousands of employees and can provision upwards of a thousand per day. The loss of this ability is a significant increase in workload.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.