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

Security Role Issue

(4) ShareShare
ReportReport
Posted on by 26
I have created one security role in Visual Studio. But it's not visible in D365 Dev box after build and synchronize database. Can anyone suggest any solution for this issue.
Steps I did:
1. Created a new Project in Visual Studio.
2. Initially its created in fleet management module, so that I have changed the Model to my custom model and enabled the database synchronization in project properties.
3. Created a new blank security role within my new project.
4. Created a new Label for this role within my custom model and assign that label to the created role.
4. Added the duties and privileges from the existing role. (Used drag and drop).
5. Saved everything.
6. Build the project.
7. Did database synchronization.
But still Security role not appear in D365 Dev environment.
 
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,085 Super User 2026 Season 1 on at
    Moved the question from the Dynamics 365 General to the Dynamics 365 Finance forum. The terminology and Fleet management indicates it is about this solution.
     
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,085 Super User 2026 Season 1 on at
    Hi,
     
    Was the project build correctly without errors? Have you also tried building the whole model and thereafter a full database sync? If I'm not mistaken the project settings for the database sync is a delta for changed tables only. A full DB sync is performing more tasks which is required for the security implementation.
  • CU13111801-1 Profile Picture
    26 on at
    Yeah, I did everything. It doesn't throw any errors. When I tried to build the model and full DB Sync it's showing some kind of warnings. Is this a cause?
  • Sohaib Cheema Profile Picture
    49,659 Super User 2026 Season 1 on at
    Hi,
    What the warning says on DB synch.
    And did you deploy the code/package to the environment ?
  • CU13111801-1 Profile Picture
    26 on at
    Warnings seems like log level warnings. Attached for you reference.
    I didn't deploy anything. When we do a customization for the first time, we first build it and check it in the DEV environment. Only if it works correctly, we then deploy it to UAT, STG, and PROD later.
    tmp_b78bb844-5e5d-4b0b-969d-142c08c32edb.png

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... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans