Replies: 2 comments 6 replies
-
Hi @MilanVolf , Did you double check the permissions of the App you are using for unattended login? Did you try connecting whilst retrieving the Connection Object with -returnconnection switch? You then need to reference this object on every PNP cmdlet you execute with the -connection parameter. |
Beta Was this translation helpful? Give feedback.
-
hi @MilanVolf , am moving this to a discussion. Please try @Studermarc 's suggestions as well . |
Beta Was this translation helpful? Give feedback.
-
Notice
Sometime after October, when I ran the script for the last time, MS Teams and PNP administration stopped working. When I log in using Connect-PnPOnline and using the "AccessToken" or "CertificatePath" certificate, I cannot use the commands related to controlling MS Teams. i always get the error: "UnknownError"
If I log in manually using PnPOnline and perhaps "DeviceLogin", the commands for MS Teams administration work as before. Unfortunately, this style of administration cannot be automated, as the admin always has to enter login information.
Other than that, there was no change in my environment, both in the configuration of the MS environment and the change in the script.
Thank you for your help.
Reporting an Issue or Missing Feature
Issue
I don't know if this is a bug or a major change.
Expected behavior
Token or certificate credentials to work again for the MS Teams service.
Actual behavior
Please describe what you see instead. Please provide samples of output or screenshots.
Steps to reproduce behavior
ERROR:
During testing I got this error once:
Get-PnPTeamsTeam : Failed to execute backend request.
Functional demo:
What is the version of the Cmdlet module you are running?
1.12.0 and 1.11.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions