I have a new user creation template that creates the user and M365 user with Dirsync, this step is run by an admin using the create user screen. The AD and AAD accounts are created with the AAD group memberships required.
An hour later using automation, a modification template is run to add the AD user to remaining groups, and should also add many AAD/M365 groups. Only the AD groups get added.
Is there any logging to know why the M365/AAD groups dont get added when the automation runs?