Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM 365 Legacy Business Process Flow Security Role Dependency Handling Issue

(0) ShareShare
ReportReport
Posted on by

Hi all,

Most of you know that there are big differences between 2016 BPF and 365 BPF, and one of them is the change of how to handle security role. It is fine if you create BPF in 365 but if you create BPF in 2016, (even for built-in BPF such as Lead to Opportunity Sale Process) as soon as you enable some custom security roles using "Enable Security Roles" button (this is replaced by "Edit Security Roles" in 365), and then migrate to 365, you will not be able to delete those security roles because CRM 365 thought the BPF still depend on these security roles EVEN THOUGH when open those security roles' "Business Process Flows" tab, those roles don't have any privilege to the BPF at all.

However, when I query the database, I found that the BPF's ProcessRoleAssignment field still have the old legacy references to the security roles ids and this may cause CRM 365 mistakenly think the BPF still depend on those security roles. And since the "Enable Security Roles" button is replaced, I cant no longer be able to remove those dependent security roles, therefore, they can't be deleted. The only way now is to use SQL query to update the ProcessRoleAssignment field.

Main question, is there other way to fix this issue without modifying database using query?

Thanks,

Sam

*This post is locked for comments

  • Hussein Wahba Profile Picture
    223 on at
    RE: CRM 365 Legacy Business Process Flow Security Role Dependency Handling Issue

    I think you can change it also using the normal SDK messages if you want to make it with a supported way.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans