New-MgTeam does not work with app permission #3035
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
Describe the bug
I am trying to create a team with the new-mgteam cmdlet (Authenticated with app certificate), but get an error
The Script:
The error:
I tried the request directly to https://graph.microsoft.com/v1.0/teams and got the same error.
Expected behavior
The app permission "team.create" should be sufficient to do the request.
I added Directory.ReadWrite.All and Teamwork.Migrate.All for testing but ended up with the same result.
How to reproduce
Do a POST request to https://graph.microsoft.com/v1.0/teams with an app permission.
SDK Version
2.15, 2.24
Latest version known to work for scenario above?
No response
Known Workarounds
No response
Debug output
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: