Restrict Service Calendar to team - dynamics-crm

I am setting up CRM to enable the support team to be able to schedule service appointments. However the problem is that all users in the organisation are displayed as rows. How do I restrict this to just a single CRM Team rather than the whole organisation?
Using Dynamics Online 2016 Update 1.

First create view that shows all users you want and next in calendar view change type to user and pick view that you created. You can't pick teams in there.

I would suggest that you use the Business Unit + Team + Security Role tandem to do this. How do you do this?
Create Child Business Units from the Parent Business Unit.
Create Teams with the same name
Create a Security Role (e.g Service Calendar BU Role) that restricts Service Calendar CRUD, Assign, Share, etc to Business Unit (Note: This entity can be found under Service Management)
Assign that Security Role (e.g Service Calendar BU Role) to the Team

Related

Dynamics 365 Portal - Conflict between contacts exists in multiple business units

There is contact based portal registration.
In CRM a person can exists in multiple business units.
Now when a user try to login, it says password incorrect because it is referring to the other contact which is not having the password but same emailId.
I want to enable portal for all the contacts in the system, based up on the business unit I will show the menu items.
suggest changes in portal setup so that it can handle multiple contacts for the user
You have to think again about your implementation idea based on Administrator's Guide to Portal Capabilities for Microsoft Dynamics 365.
Few points:
Multiple contacts is not a good idea, that too with the same email address. Not sure which Business Units (BU) you are talking about, but how you are planning to hook the authentication piece by different BU? Use the same Contact and after authentication, decide the authorization part based on your concept
Even different Contact with different Email for different purpose is ok, but I would recommend you to look at web roles instead
If Menu items has to be dynamic & depends on configurations, use Liquid syntax rather than complex implementations. Read more

Business owned in MS Dynamics CRM

Recently I been studying the entity ownership in MS Dynamics CRM where I came across "business owned" which doesn't give any detail further. upon the other two ownership like "organization owned" & "user/team owned" these two options are available during entity creation.
I am assuming that when "user/team" or "organization" uses security roles which is configured based on the business unit, as user/team are part of the Business Unit they are consider as "Business owned"
I referred the below link,
https://msdn.microsoft.com/en-us/library/gg309396.aspx#Anchor_3
so what is business owned?
when can a record be business owned?
Your assumption is right.
Think that OwnershipType dropdown as a global optionset but only Organization & User/Team choices available for us. But the other 2 choices Business & None used by product internally & hidden for us.
Also owningbusinessunit populate based on owning user/team, decides if that record has to be shown to user based on the security role privilege (BU level) viz filteredview, record list, Retrieve, etc
After you have chosen Entity ownership type of user/team, CRM will create some additional fields to enable the records to be owned by users/teams.
It creates fields for OwningUser, OwningTeam, owningbusinessunit and ownerid.
You have to record the business unit of the user/team so the security role can work out what other users can view the record.
Read more
There is Business Unit in CRM which is under Organization so if any role has privilege Business Unit owned it means that Roles can work only on the data of that Business Unit where as any Roles having Organization Owned can work on any data on that Tenant.

Access records created by CRM users in D365 Portals

As I understand, we can access records created by Portal users and their respective Entity Permissions apply for them. However, I wanted those users to be able to even access records which were created by CRM users within Dynamics 365 (and not records created from Portal by a Portal user which is assigned to System)
Is this possible? If yes, how can I achieve that?
Thanks in advance!
It does not matter who created the record, what matters is if that user has access to it. It would not make much sense to show only records that were created by the portal users - how would you then handle something like Customer Service (on one end users use portal, but on the other they are using CRM, bot are creating records).
So basically I'm not sure how aware are you of the configuration of permissions, but let's say that you configured that a Contact (which is a portal user) has access to all records "Cases" that are referencing this contact (this is simply configuration in Entity Permission record). If yes then contact will see records created by him and all other cases that are referencing him as a contact, so if you as a CRM user will create a Case for a Contact, this Contact will see the case.

Lookup Field Displays All Records

I'm building an employee self service portal via Dynamics 365, and when I use the lookup field to display my name in a form other employee names are displayed too:
I've been fiddling with the security roles for a while now and still cant seem to get it to display a single employee name.
I'm also planning to do it a different way by filling up the employee name based on the username on the upper right.
How do you guys suggest I go about this?
First things first. Portals won't use any CRM Security role concepts as it's for CRM users. Portal is built on top of Contact entity. Contact is Portal user & Web role will control his/her access.
You have to Entity Form Metadata to populate the fields per your need. The contact lookup can be filled in by current login Portal user this way. Even you can implement something like manage/restrict the Contacts only from your parent Account in that lookup easily.

Dynamics CRM 2011 Connections

The company I work for has clients which have various businesses but which are owned by the same person. The different businesses have separate contracts and we have linked the two accounts by a connection.
Now, when a case regarding one of the businesses is created, we want all the contracts of both businesses to show up under 'Contracts'. Is this possible?
Ex: Business A - Contract A
Business B - Contract B
Case for Business A : Available contracts: Contract A , Contract B ( since the owner is the same we want both of them to show)
It is, but it would probably take some development. You would need some sort of html/silverlight xap web resource or an iframed web application to retrieve and dynamically load the contracts of all the account connections on the account form. The web application would need to take into account the relationship of the parent account to the child accounts and it may be easier instead of using connections, just to make them child accounts to the parent account. That's how its done pre-2011.
I think I can suggest something here.
Have that 'person' as master Customer (record of type account), and have all the businesses (A, B) as child Customers (records of type account).
Now create an advanced find view to list all the contracts for 'master' customer
Expose it in a grid. (read more here How to create master/detail view in Microsoft dynamic CRM 4.0?)

Resources