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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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 515

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

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

    Hello,

    Please refer to this thread.

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

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,083 Super User 2026 Season 1 on at

    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

  • NDingankar22 Profile Picture
    515 on at

    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

  • André Arnaud de Calavon Profile Picture
    303,083 Super User 2026 Season 1 on at

    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?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 311

#3
Diego Mancassola Profile Picture

Diego Mancassola 271

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans