cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Arioule
Helper III
Helper III

How to import Microsoft Team Groups (Office 365 Groups with Microsoft Team connected) to the CDS Team Entity

Hi,

 

I would like to import Microsoft Team Groups (Office 365 Groups with Microsoft Team connected) to the CDS Team Entity and I would like also to import in the same time associations between Users (in CDS User Entity) and the Microsoft Team Groups they belong to .

 

How can I achieve this ?

 

Thanks for your help

 

Arioule

4 ACCEPTED SOLUTIONS

Accepted Solutions

You can definitely do this using power automate. use the o365 groups connector and list the members of the desired group. Then add team member records related to the cds team 

 
 

flow group.png

View solution in original post

EricRegnier
Super User
Super User

Hi @Arioule,

You can also sync Active Directory (O365 groups) to Common Data Service teams out-of-the-box. This would allow you to manage security via Office 365 instead of CDS/D365 and sync (import) team members from O365 to CDS. Perhaps this is what you're looking for? More details below:

Hope this helps!

View solution in original post

Good thought @EricRegnier , but it really depends on why you want the people on the team in dynamics. This is great if it is for security purposes, but it doesn't actually sync the team members--the members don't show up on the team until they log in to a model driven app. So if there are people on the group who never do that, you never see them in the team. Also since this is a security group team, it cannot own records like an owner team.

 

There's also the O365 groups integration with Dynamics and the teams integration with dynamics if the OP has d365 licenses. https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/deploy-office-365-...

https://docs.microsoft.com/en-us/dynamics365/teams-integration/teams-integration

View solution in original post

Cheers Joel. I guess the question begs if these users will never log in CDS/D365 then why have a license and be part of that group?

@Arioule if you need these users in CDS as "master" or "reference" data and these users are not CDS licensed users that they wouldn't be configured as an out-of-the-box user (systemuser) but rather in another custom entity (e.g. Employee). 

 

To supplement on Office 365 groups, this is really good if your business processes require collaboration with other users that do not have access to CDS. You won't get though the team association as per your initial post. And same for MS Teams integration which would be my preference if you had to chose between that and Office 365 groups.

Hope this helps...

 

 

View solution in original post

7 REPLIES 7
v-xida-msft
Community Support
Community Support

Hi @Arioule ,

Do you want to sync your Microsoft Teams Groups to your CDS Teams Entity?

 

If you want to sync your Microsoft Teams Groups to your CDS Teams Entity,  import in the same time associations between Users (in CDS User Entity), I afraid that there is no way to achieve your needs in PowerApps currently.

 

Currently, within PowerApps app, there is no action supported under Teams connector to retrieve these Required properties (e.g. Administrator, Organization, etc) for creating a Team record in Teams Entity.

 

If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

 

As an available solution, you could only create Team record for each of your Teams Group in your Teams Entity manually. Please go to "Power Platform Admin Center"-> find your own current environment-> Click "Settings"-> expand "Users + Permission" option, then click the "Teams" option:

3.JPG

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

You can definitely do this using power automate. use the o365 groups connector and list the members of the desired group. Then add team member records related to the cds team 

 
 

flow group.png

View solution in original post

EricRegnier
Super User
Super User

Hi @Arioule,

You can also sync Active Directory (O365 groups) to Common Data Service teams out-of-the-box. This would allow you to manage security via Office 365 instead of CDS/D365 and sync (import) team members from O365 to CDS. Perhaps this is what you're looking for? More details below:

Hope this helps!

View solution in original post

Good thought @EricRegnier , but it really depends on why you want the people on the team in dynamics. This is great if it is for security purposes, but it doesn't actually sync the team members--the members don't show up on the team until they log in to a model driven app. So if there are people on the group who never do that, you never see them in the team. Also since this is a security group team, it cannot own records like an owner team.

 

There's also the O365 groups integration with Dynamics and the teams integration with dynamics if the OP has d365 licenses. https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/deploy-office-365-...

https://docs.microsoft.com/en-us/dynamics365/teams-integration/teams-integration

View solution in original post

Cheers Joel. I guess the question begs if these users will never log in CDS/D365 then why have a license and be part of that group?

@Arioule if you need these users in CDS as "master" or "reference" data and these users are not CDS licensed users that they wouldn't be configured as an out-of-the-box user (systemuser) but rather in another custom entity (e.g. Employee). 

 

To supplement on Office 365 groups, this is really good if your business processes require collaboration with other users that do not have access to CDS. You won't get though the team association as per your initial post. And same for MS Teams integration which would be my preference if you had to chose between that and Office 365 groups.

Hope this helps...

 

 

View solution in original post

So multiple reasons: maybe they just use canvas apps, or they haven’t logged in yet but you need them there for team management purposes. Or maybe they use a portal. It doesn’t show them on the team if they just log in with canvas apps

Arioule
Helper III
Helper III

Thanks all of you for your help.

 

Arioule

Helpful resources

Announcements
User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,307)