web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

SOLVED every user is being assigned every web role, regardless of contact's web role

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We have a bug where users are being assigned every Web Role.

For an example, let's say available Web Roles are "Admin", "User", "Foo"

    user with role "Foo" logs in...   

    expected result: user.roles  == ["Foo"]

    actual result: user.roles == ["Admin", "User", "Foo"]

This has been solved, but I'm not sure how how to mark this as solved. 

I have the same question (0)
  • Nya Profile Picture
    29,064 on at

    Hi,

    Would you please describe more about how you retrieve the users’ web roles and specify the settings of each web role?

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Verified answer
    davidkavanaugh Profile Picture
    Microsoft Employee on at

    We discovered the problem. Each user web role was being designated as an "Authenticated Users Role," which I think means that any authenticated user will be granted this user role. We simply switched this value from "yes" to "no," and our issue was solved

  • davidkavanaugh Profile Picture
    Microsoft Employee on at

    SOLVED, but I don't see where to indicate this has been solved.

  • midgard95 Profile Picture
    5 on at

    Thank you for the solution. my company was having the same issue, but eventually solved it.   Life is easier because of people like who are always prompt at helping others

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 77

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 45 Super User 2026 Season 1

#3
sannavajjala87 Profile Picture

sannavajjala87 29

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans