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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error on deletion of a security role

(0) ShareShare
ReportReport
Posted on by

Hi,

When I am trying to delete a security role. I got a process error that this type of record cannot be deleted. when I download the log file there was a message on error details that "cannot not delete a workflow dependency associated with workflow activation". How can I delete that security role?

  

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at
    RE: Error on deletion of a security role

    Hi SAI,

    The error log should specify the GUID of the workflow.  Navigate to Settings > Process, select all and Export to Excel.  Then you can search for the GUID to find the workflow.  Then open the workflow and click "Show Dependencies" to find the dependencies of the workflow.  Once you remove the dependencies, you'll be able to delete the Security Role.

  • Suggested answer
    PS Profile Picture
    23,577 on at
    RE: Error on deletion of a security role

    Your workflow must be set to 'run as the owner of the workflow' and probably thats why you are getting it.

    I hope you are not trying to delete an OOB Security Role. if its custom, check the dependencies first

  • Community Member Profile Picture
    on at
    RE: Error on deletion of a security role

    Hello Sai,

    this means that one of your security role has dependencies with a workflow, I find it very strange that it is referencing workflows as its not possible in 2011 to reference a security role.

    what I would do is export the solution and check the XML for dependencies associated with the security role,

    remove those dependencies and then you will be bale to delete the security role

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans