New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-MsolUser for StrongAuthenticationUserDetails are different results that Get-AzureADUser #49247
Comments
@JBHorne Thank you for your valuable feedback, our team will further look into and get back to you at the earliest. |
Sorry for the delay on this. The engineering work team has acknowledged there isn't feature parity in areas like this, and are also leaning towards the Microsoft Graph API to directly query information as needed. At this time, there's no ETA on those updates being available. Doc updates will be made once there are updates from engineering to share. For now, #please-close |
I'm not sure why this was closed. The article is still incorrect. |
We are also seeing this issue at my workplace. There appears to be no way to access or update the Authentication Phone or Authentication Email properties of an Azure AD user using the AzureAD v2 PowerShell module. We also checked through Graph Explorer but could not see those properties represented in Microsoft Graph either. |
I was reading through this article and came here to post essentially this same issue. This really shouldn't be closed. The article should be updated. Someone who doesn't have a good understanding of PowerShell or Azure AD could easily add a bunch of mobile numbers thinking they would only be used for SSPR. In reality they would be seen by all of the org. This could be a major problem in some organizations. |
Still waiting on this. |
There is actually a method in MS Graph beta now to create the authenticationPhone. |
In our environment, the "mobile" field for AzureAD is only populated if the user has a corporate device. Personal mobile numbers are not within this field as this can be seen by all. Instead, our users populate their mobile number and personal email address from within SSPR. We can see this by running:
Get-MsolUser -EnabledFilter EnabledOnly -All | Select UserPrincipalName, DisplayName, MobilePhone, AlternateEmailAddresses, AlternateMobilePhones -ExpandProperty StrongAuthenticationUserDetails
The article above appears to make feature parity with the following command:
Get-AzureADUser | select DisplayName,UserPrincipalName,otherMails,Mobile,TelephoneNumber | Format-Table
However these are very different data sets. The above is reading private data from the MSOL attribute where as the latter is reading the public email address and mobile.
With MSOnline modules being deprecated (you cannot use these within Azure Automation for example ), this means that we need feature parity for reading the StrongAuthenticationUserDetails with the Get-AzureADUser cmdlet.
Moreover, the article is simply incorrect that these are one in the same.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: