RE: Latency issue between Azure AD Security Groups and Environments Teams
Hey! This will depend on many factors.
Usually when you login, a token is submitted and you're authenticated using that token. If you're removed from the security groups, that token might still be valid for some time (24 hrs, 7 days, 1 hr). this will depend on AzureAD.
On CRM, you can take advantage of Access Management and establish some Session Time Out and INactivity timeout. If the token changes removing the access and the user hits one of those timeouts (Session or inactivity), they will be logged off.
learn.microsoft.com/.../user-session-management
Regards,