Hello @Ivan Baranov
I would like to share following details with you with regards to Employee Type attribute.
Scenario 1: Update Employee Type Attribute on Sync'd users
- Employee Type would be sync’d to Azure AD as an extension attribute.
- This Attributes would not be visible on GUI.
- You would need to use Graph to query and view these attributes on the users.
- Below is the screenshot which confirm the successful sync to Azure AD.
Scenario 2: Update Employee Type Attribute on Cloud Only Users
- Employee Type Attribute is a editable field for cloud only users.
- Employee Type Attribute is not exposed to Azure AD PowerShell module and needs to be managed either from Portal or using Microsoft Graph explorer or Graph PowerShell.
Steps to edit EmployeeType attribute for cloud only users with Microsoft Graph PowerShell:
Connect-MgGraph -Scopes User.ReadWrite.All
Select-MgProfile -Name beta
Get-MgUser -UserId ******@contoso.com | Select -Property EmployeeType
Update-MgUser -UserId ******@contoso.com -EmployeeType FTE
Steps to edit EmployeeType attribute for cloud only users with Microsoft Graph Explorer:
- Browse to https://aka.ms/GE
- Make sure you have required permissions.
- To get execute the following GET query: https://graph.microsoft.com/beta/users/<Add Object-ID or UPN>
- To update EmployeeType attribute execute following PATCH Query with JSON body having attribute name and value as shown in below screenshot:
I hope this helps to resolve your query.
----------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.