Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Cloud hosted environments testing user roles no longer possible

(1) ShareShare
ReportReport
Posted on by 760
Hi all,
 
lately I noticed that I can no longer log-in to my D365 F&O cloud hosted environment with an end user account that doesn't have the System administrator role.
 
When I try to access D365 with a test user I get this error messaage:
 

You are not authorized to login with your current credentials. You will be redirected to the login page in a few seconds.To troubleshoot signin issues, please visit https://go.microsoft.com/fwlink/?linkid=2252604.

 
As soon as I assign SysAdmin to that user I can log in again.
Is this a new feature to avoid user role testing or do I have to set something up to access the environment? 
 
System is not set to maintenance mode 
 
 
  • Verified answer
    ThomasWilke Profile Picture
    760 on at
    Cloud hosted environments testing user roles no longer possible
    After adding the certificate and enabling access to entra. I can confirm that non admin users are able to access the cloud hosted environment again.
  • ThomasWilke Profile Picture
    760 on at
    Cloud hosted environments testing user roles no longer possible
    Hi André,
     
    we will try to add the certificate and test again.
     
    The user has System user assigned + the roles we use for testing.
    I guess it has something to do with the certificate and the entra connection.
  • André Arnaud de Calavon Profile Picture
    295,455 Super User 2025 Season 1 on at
    Cloud hosted environments testing user roles no longer possible
    Hi Thomas,

    Your last comment is interesting and could be indeed the culprit. Have you tried setting up the certificate for security? Then the import of users will work and potentially your issue with the test users will be resolved. I'm not using a cloud-hosted environment myself as I deployed some new Unified Development Environments. In these UDE environments, I don't encounter an issue with non-administrators nor the import of users from Azure Entra ID.

    PS. Does this test user have the System user role assigned?
  • ThomasWilke Profile Picture
    760 on at
    Cloud hosted environments testing user roles no longer possible
    Thank you for the replies.
     
    Did you recently refresh the database?
    • Yes, restored a bacpac 
    Is the user enabled in Sys Admin -> Users?
    • Yes, sure
    • The user is enabled
    • The user is not listed as an invalid user
    • We tried deleting and recreating the user without luck
    • As soon as we assign System administrator role the user can log in
    • If we remove System administrator and just assign whatever D365 standard role - the user can no longer log in
    Can you tell us what exact roles are assigned to the user?
    • For example AR clerk, actually it does not matter. 
    Is the user part of the same tenant or having a different tenant?
    • Yes - same tenant
     
    The only thing that I noticed is that the environment is not able to import users. I get the message Authorization required. 
    Does anyone know if the integration of cloud hosted environment to entra id is mandatory to use roles?
     
  • Anthony Blake Profile Picture
    2,507 Super User 2025 Season 1 on at
    Cloud hosted environments testing user roles no longer possible
    Hi,
     
    Did you recently refresh the database? Is the user enabled in Sys Admin -> Users?
     
  • André Arnaud de Calavon Profile Picture
    295,455 Super User 2025 Season 1 on at
    Cloud hosted environments testing user roles no longer possible
    Hi Thomas,

    Can you tell us what exact roles are assigned to the user? Is the user part of the same tenant or having a different tenant?
    You can read my blog about a recent change in enforcing security best practices and some reasons for invalid users. Maybe this helps you: Invalid users in Dynamics 365 F&O - 10.0.39 update - Dynamicspedia
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans