microsoftgraph / microsoftgraph/microsoft-graph-comms-samples
New-CsOnlineApplicationInstance command is not supported as per Mircosoft docs
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 253
- Forks
- 275
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 1
Description
Hi,
I'm trying to set Policy recording bot, I did deployed cloud up, now I'm trying to set-up app Instance as per instructions:
I tried this command in few different variations, with same result each time: Access Denied:
I did connect in few suggested ways:
Connect-MicrosoftTeams -CertificateThumbprint "XXXXXXXXXXXXXXXXXXXX" -ApplicationId "XXXXXXXXXXXXXXXXXXXXX" -TenantId "XXXXXXXXXXXXXXXXXXXXXX"
Connect-MicrosoftTeams - to logic direcrtly
Connect-MicrosoftTeams -AccessTokens @("$graphToken", "$teamsToken") - or using acces token.
I was able to connect in all 3 ways, I did assgned nessesary privilegs to the app, and gave roll of "Teams Administrator" and "Global Administrator" at some point.
But still I got Access Denied on any of the operations.
[Get|Set|New|Sync]-CsOnlineApplicationInstance
I found this article that suggest that this commad is not supported:
https://learn.microsoft.com/en-us/microsoftteams/teams-powershell-application-authentication#cmdlets-supported
I did see on other issue that people were able to run this command.
Am I missing something? or there was a changes related to this command?
Do I have any alternetives ?
Graph SDK (please complete the following information):
1.2.0.3742
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Teams PowerShell application-authentication documentation and compare its supported-cmdlets list with the reported Get-, Set-, New-, and Sync-CsOnlineApplicationInstance failures. Reproduce the Access Denied result using the connection methods and permissions listed in the issue; done means identifying whether the command is supported and documenting a confirmed alternative or required configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- authentication, authorization, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100