No, that is not possible to limit per attribute, sorry.
Restrict azure ad user attributes
It looks like there is no way to restrict user attributes in Azure AD? Besides Set-MsolCompanySettings -UsersPermissionToReadOtherUsersEnabled $false, and changing the access settings for graph? Does this restrict it for the get-azureaduser cmdlet as well?
Microsoft Security | Microsoft Entra | Microsoft Entra ID
-
Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator2022-09-08T18:14:49.707+00:00
2 additional answers
Sort by: Most helpful
-
Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator2022-09-07T23:49:46.403+00:00 Another option to block access is a conditional access policy:
https://learn.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-cloud-apps#microsoft-azure-managementNote:
-
Mishaua 741 Reputation points2022-09-08T18:10:37.697+00:00 There doesn't seem to be a way limit individual attributes though say the phone number or street address attribute?