Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

error while publishing role-insert duplicate key in dbo.securityroleexplodedgraph with unique index

(0) ShareShare
ReportReport
Posted on by 499

Hi

Greetings

I am working in d365 fno

I just created a new role & add standard duties

I went to publish that role & i get the above error

Any idea on the above table & how to resolve the same

Just a simple role but get this error

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,187 Super User 2025 Season 1 on at
    RE: error while publishing role-insert duplicate key in dbo.securityroleexplodedgraph with unique index

    Hi NDingankar,

    Can you elaborate on "I tried  deletig sib roles for few roles(taken backup of those before deleting )"? What exact steps did you perform? I thought your question was about the security configuration form, but now you mention Visual Studio. Can you clarify where you did what changes?

  • NDingankar22 Profile Picture
    NDingankar22 499 on at
    RE: error while publishing role-insert duplicate key in dbo.securityroleexplodedgraph with unique index

    Thank you all  for the  reply. Since we have just started yet to get access to  VS(visual studio)  I tried  deletig sib roles for few roles(taken backup of those before deleting ) & also used Repair. However  I cant proceed on creating a simple role. I  followed  other threads but no luck

    Kindly let me any other  alternatives if any

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,187 Super User 2025 Season 1 on at
    RE: error while publishing role-insert duplicate key in dbo.securityroleexplodedgraph with unique index

    Hi NDingankar22,

    You can try to use the Repair feature on the Security configuration form. Maybe this will help as it recreates the runtime data for the security. See also my blog: Security configuration - What is the 'Repair' button? - Dynamicspedia

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: error while publishing role-insert duplicate key in dbo.securityroleexplodedgraph with unique index

    Hello,

    Please refer to this thread.

    community.dynamics.com/.../security-sub-roles-not-working

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…

Vahid Ghafarpour – Community Spotlight

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

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,187 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,966 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans