Skip to main content

Notifications

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

  • rgouette Profile Picture
    rgouette 145 on at
    RE: Ideas how to delete this Role?

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

    Thanks much Andre!

    Rich

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 on at
    RE: Ideas how to delete this Role?

    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
    rgouette 145 on at
    RE: Ideas how to delete this 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:

    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

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,965 Super User 2025 Season 1 on at
    RE: Ideas how to delete this Role?

    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?

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,552 Super User 2024 Season 1 on at
    RE: Ideas how to delete this Role?

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

    dynamicspedia.com/.../

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: Ideas how to delete this Role?

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

    Try clearing your data usage and try again.

  • rgouette Profile Picture
    rgouette 145 on at
    RE: Ideas how to delete this Role?

    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
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: Ideas how to delete this Role?

    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
    rgouette 145 on at
    RE: Ideas how to delete this Role?

    It was created via the GUI: Sec page.

  • Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: Ideas how to delete this Role?

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

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans