Closed awshaik closed 2 years ago
Yep, you can use Add-CrmSecurityRoleToTeam to add roles, you can also query user or team roles, etc.
Here is one example which gets all of a users roles and removes them - you can use similar approaches to query roles and add them to another user.
Thankyou for example.
I will work on that.
Shaik.
On Fri, 15 Oct 2021 at 19:59, Sean McNellis @.***> wrote:
Closed #487 https://github.com/seanmcne/Microsoft.Xrm.Data.PowerShell/issues/487.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/seanmcne/Microsoft.Xrm.Data.PowerShell/issues/487#event-5470206441, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR2OLI7HWAA6GUZWU76SE23UHA3FTANCNFSM5F7TXRWQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Hi Is it possible to add some bulk CRM security roles to different teams by using powerShell.
If yes, please share inputs.
thanks