Hi anonymous user. Is it possible to resolve query params trough OAuth2 key-value parameters and assign Azure AD groups to users during Sign up using Techincal Profiles such as AAD-UserWriteUsingLogonEmail (local accounts) or AAD-UserWriteProfileUsingObjectId (both local and social accounts) or, for better flexibility, security and mantainability a REST TP so that a custom API can do the heavy lifting.
Please let us know if you need additional assistance.