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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to set Permission to a form

(0) ShareShare
ReportReport
Posted on by 645

Hey, I'm working with mscrm 2016 and I need to restrict a form to a specific team, after googling a little I found that it's impossible and I need a security role for that matter.

So I have some questions pop up while working to restricting a form

1. When I tried to connect my security role from business unit A - I choose the form that I needed and then choose Assign Security Roles , all the security roles I got were from business unit B, is there a rule about that? 

2. Is it possible to restrict a form to a team ?

other options will be great!

thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hello Sahara,

    You need the security role for that matter.

    The option i usually do is to have a security role, even without roles, and assign them to the Team.

    Then, on the form, with the Assign Security Roles, i assign the previously role for that specific team.

    Cheers!

    Pedro Pisco

  • sahara Profile Picture
    645 on at

    Hey Pedro thank you, I tried to do that but when I want to choose a role from my security role it only shows me roles from my top (first root) business unit 'A' and not from the specific business unit 'B' (B is the son of 'A', one level under 'A') I can't get security roles from that specific business unit (B) get security role only from HEAD business unit.. why is that? I hope I was clear..

  • Suggested answer
    ARIFNIIT Profile Picture
    1,391 on at

    Out of the box this is not possible. but you can achieve it using plugin. Create a plugin on RetrieveMultiple message on  UserSettings entity.  In plugin you can filter entity form from UserSettings based on the user team.

    You can maintain a entity to maintain form and team configuration so that you can easily configure it without change in plugin code.

    Let me know if you need more details.

  • Verified answer
    Community Member Profile Picture
    on at

    Hello Sahara,

    Thank you for explaining that.

    If you have that requirement, you might need another approach.

    Verify this thread, might help you:

    community.dynamics.com/.../225466

    Cheers!

    Pedro Pisco

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi Sahara ,

    1. When I tried to connect my security role from business unit A - I choose the form that I needed and then choose Assign Security Roles , all the security roles I got were from business unit B, is there a rule about that?

    Yes this is due to your security roles belongs to specific child business  unit. Move your security role in root business unit , or maintain parent child business unit and assign to parent business unit . So that security role will be accessible from any business unit(For root) and child business unit (For Parent Child case). When you are creating any business unit its automatically create an business unit team , so I would recommend to create new team belongs to root business unit level. 

    2. Is it possible to restrict a form to a team ?

    Once you define your security role and team in root business unit . You just need to add the security role to the team and then enable form level security.

    Hope this helps.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans