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.