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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Ideas how to delete this Role?

(0) ShareShare
ReportReport
Posted on by 145

Not 100% sure how this happened exactly, but we ended up with 2 roles named identically..

I was able to delete one, but the other remains, and I cannot delete.

If I try, I get this:

pastedimage1680874224796v1.png

I also notice this, when I do an entity-based export of USER SECURITY, and look at the Metadata Customizations entity excel file for this line item:

pastedimage1680874370249v2.png

Any suggestions?

Thanks much,

Rich

I have the same question (0)
  • Komi Siabi Profile Picture
    13,093 Most Valuable Professional on at

    Was this role created from the Security information page or from Visual studio ?

  • rgouette Profile Picture
    145 on at

    It was created via the GUI: Sec page.

  • Suggested answer
    Komi Siabi Profile Picture
    13,093 Most Valuable Professional on at

    When you try to assign roles to users, does this role appear?

    And is that Particular role assigned to any User currently?

  • rgouette Profile Picture
    145 on at

    My answer didn't post for some reason.

    I was able to assign it to myself.

    It wasn't assigned to anyone

    .

  • Suggested answer
    Komi Siabi Profile Picture
    13,093 Most Valuable Professional on at

    I really can not say, why you are unable to delete the role.

    Try clearing your data usage and try again.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi, Can you try Repair button in Security configuration form.

    dynamicspedia.com/.../

  • André Arnaud de Calavon Profile Picture
    300,928 Super User 2025 Season 2 on at

    Hi Rich,

    When reading the question and comments, my thoughts are similar to Mohit. He shared by blog for using the Repair button. If this does not work, can you then share a screenshot of the security configuration form with this particular role?

    I also wonder how you were able to get two roles with the same name. Were both roles created as configuration or was one a role coming from the application metadata?

  • rgouette Profile Picture
    145 on at

    Hi Andre, Mohit.

    I ran the repair, but no help.

    Regarding how it was created, I'm not 100% who or when: but, I can tell you that it was "somehow" created via the GUI. We don;t configure

    roles etc any other way.

    I'm also baffled as to how two roles got created withh the same name, as I understood that to be impossible..

    Here's a shot of the offending role:

    Hi Andre, Mohit.
    I ran the repair, but no help.
    Regarding how it was created, I'm not 100% who or when: but, I can tell you that it was "somehow" created via the GUI. We don;t configure
    roles etc any other way.
    I'm also baffled as to how two roles got created withh the same name, as I understood that to be impossible..

    Here's a shot of the offending role:

    7737.Capture.PNG

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    300,928 Super User 2025 Season 2 on at

    Hi Rich,

    As the role has an AOT name, this is not created via configuration. This should be added via a customization in Visual Studio. You can check the model details and delete the dupliate role in Visual Studio. If the role was created via a configuration, the AOT name is not visible and has a GUID ID in the back-end instead of an AOT object name.

  • rgouette Profile Picture
    145 on at

    ok, that's very interesting.. No idea how that happened, but I'll find out.

    Thanks much Andre!

    Rich

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 291 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans