Hi there
Since 6 months we use a power-shell script in SCOM to check and to modify some telephone numbers in Teams.
Of course, we use Connect-MicrosoftTeams cmdlet.
It worked fine.
But since today, we have this error:
The term 'Connect-MicrosoftTeams' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Reboot server(of course ;))
If I us this cmdlet with my personal account it works.
If I login with the service-account running the runbook, the cmdlet works.
'Reinstall' of the module
Retyping it in the powershell-command in SCOM, if there is any issue after copy/paste (for example, we had lost many special characters during copy/past-error)
Since it still doesn't work, i'm asking for your advice.
Best Regards
Freddy