Connect-MicrosoftTeams AADSTS50076

Mike K 1 Reputation point
2022-06-28T12:21:46.12+00:00

Hello,

I want to provide a function to some users for which i need the Connect-MicrosoftTeams cmdlet.
Here you can see, that its installed and up to date.

215708-image.png

Now if i execute the following:
Connect-MicrosoftTeams -AccountId <username>@keyman .net

The error message is:

Connect-MicrosoftTeams : Broker response returned error: WAM Error Wam plugin Microsoft.Identity.Client.Platforms.Features.WamBroker.AadPlugin Error code: 3399614476 Error Message: SubError: basic_action V2Error: in your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0000-c000-000000000000'.

The interesting thing is, that when i execute just the Connect-MicrosoftTeams, it works perfect, but i want to provide their users AccountName directly, as i did with Connect-AzureAD and Connect-ExchangeOnline before...

Is there any solution for this?
Thanks

Microsoft Teams | Microsoft Teams for business | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.