Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

How do I add a custom security role to the MarketingServices ApplicationUser?

Posted on by 177

Hi,

I have, what I feel like would be a common scenario. My client has custom entities and I need Dynamics Marketing to be able to "Read" those entities when creating new Form Fields. I get this error since it doesn't have Read access:

The user "MarketingServices ApplicationUser" does not have access to the entities you’ve chosen (arm_treatmenttype). Autosuggest won’t work correctly until this user has read access to them.

So I copied the Marketing Services User security role and then modified the copy to include the Read access I need. The problem is, when I go to add the security role to the "MarketingServices Application User", I get this error:

<Message>System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---&gt; Microsoft.Crm.CrmException: Cannot update current component(name=ApplicationUser, id=5a24b264-c8f3-474d-92f6-a998cca942c1). This is a Microsoft managed component

How do I accomplish this?

  • Nya Profile Picture
    Nya 29,056 on at
    RE: How do I add a custom security role to the MarketingServices ApplicationUser?

    Hi,

    It is recommended to post your proposal in Ideas forum to let others vote for it.

     

    Best Regards,

    Nya

  • pdr469 Profile Picture
    pdr469 177 on at
    RE: How do I add a custom security role to the MarketingServices ApplicationUser?

    Yeah I saw that article, however, it seems odd that Microsoft would add logic for an error that can't be resolved. Oh well I found another option for my client so I'm good now. I had originally updated the security role to provide "Read" access to that custom entity which seemed to work but I know that Microsoft does regular updates to Marketing which could overwrite that change.

  • Suggested answer
    Nya Profile Picture
    Nya 29,056 on at
    RE: How do I add a custom security role to the MarketingServices ApplicationUser?

    Hi,

    Please refer to the following documentation about MarketingServices ApplicationUser:

    Manage user accounts, user licenses, and security roles (Dynamics 365 Marketing) | Microsoft Docs

     

    It emphasises that “Be sure not to remove or modify this user.”

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans