Powershell /API format for updating custom attribute for tenant synchronization

Azuretech 90 Reputation points
2023-12-14T13:22:39.3766667+00:00

CocUser's image

Windows for business | Windows Server | User experience | PowerShell
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-12-18T08:39:51.9233333+00:00

    Hello,

    You should be able to update tenant sync as other AAD provisioning with the template updating API: https://learn.microsoft.com/en-us/graph/api/synchronization-synchronizationtemplate-update?view=graph-rest-beta&tabs=http

    You should include the template in the request body. To include attribute mapping, you could refer to objectmappng resource type: https://learn.microsoft.com/en-us/graph/api/resources/synchronization-objectmapping?view=graph-rest-beta

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.