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.