That’s a great question! Azure AD roles have changed a bit since we first released the Azure Sync feature, so I tested it again.
I created a “limited administrator” Azure AD account, and tried adding on roles to see if the sync would work. Even with all of the available admin roles in the UI granted, that limited admin couldn’t authorize consent for Duo Azure Sync.
Of course, once I changed the role from Limited to Global admin I could consent as that user.
We’ll do some more research into whether it’s possible to grant the necessary rights for consent outside of the GUI (not immediately though, just to set expectations).
I do want to reassure you that Duo doesn’t store the consent user’s username and password directly. After you authorize the Duo Azure Sync app it uses an OAUTH token to access your tenant. You also aren’t authorizing write access to your AAD tenant by Duo.
You can view the delegated permissions used by the Duo Azure Sync app in the Azure portal under Azure Active Directory > App registrations > Duo Security Azure Sync > Settings > Required permissions > Windows Azure Active Directory.
Thanks for using Duo!