Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,464 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I can't add guest member of team by "New-MgTeamMember".
https://learn.microsoft.com/en-us/graph/api/team-post-members?view=graph-rest-1.0&tabs=http#permissions
Using application permissions to add guest members to a team is not supported.
So, I want to add guest by Add-TeamUser.
Should I use MSAL.PS? Please teach me "how to automatically add guests as team members".
Thank you for your reply.
Now I manually run ps1(contains conditions).
Connect-AzureAD and New-AzureADMSInvitation
Connect-MicrosoftTeams and New-Team and Add-TeamUser
Thanks for visiting our forum. Our forum focuses on Microsoft Teams, which is the hub for team collaboration in Office 365.
Based on your description, this problem is related to Teams script development, which we do not support. So we will add office-teams-app-dev tag to your thread. Thanks for your understanding and patience!
Manage Teams with rules set for dynamic members groups. When user attributes change or users join and leave the tenant, users are automatically added or removed from the correct teams.