Forum Discussion
Calendar does not show up in ms teams for a specific user.
Some more information!
It is a hybrid environment. The Calendars are not on premises.
The account is also missing from the Teams Admin Center.
Here are the commands my colleague tried for Microsoft:
Hi
None of these commands worked, tested on the AD and the Azure connect servers. Tested with connection to Office 365 established and without.
set-executionpolicy remotesigned
•set-executionpolicy : The term '•set-executionpolicy' 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.
At line:1 char:1
+ •set-executionpolicy remotesigned
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (•set-executionpolicy:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\WINDOWS\system32> Import-Module SkypeOnlineConnector
•Import-Module : The term '•Import-Module' 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.
At line:1 char:1
+ •Import-Module SkypeOnlineConnector
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (•Import-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\WINDOWS\system32> userCredential = Get-Credential
userCredential : The term 'userCredential' 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.
At line:1 char:1
+ userCredential = Get-Credential
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (userCredential:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\WINDOWS\system32> $sfbSession = New-CsOnlineSession -Credential $userCredential
•$sfbSession : The term '•$sfbSession' 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.
At line:1 char:1
+ •$sfbSession = New-CsOnlineSession -Credential $userCredential
+ ~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (•$sfbSession:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\WINDOWS\system32> Import-PSSession $sfbSession
•Import-PSSession : The term '•Import-PSSession' 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.
At line:1 char:1
+ •Import-PSSession $sfbSession
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (•Import-PSSession:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
https://www.microsoft.com/en-in/download/details.aspx?id=39366 this link that was given to him to fix the command errors did not help either.
PietroDiaco - We are experiencing the same issue. Did you ever get this resolved? Working with Premier support and not getting anywhere.
- JeeviousJan 31, 2023Copper Contributor
Just adding to this, as i just had the same issue in a non-hybrid environment.
Teams uses EWS to connect to the calendar, and i noticed that EWS was turned off for the specific user in Exchange Online. Turning it on resolved the issue within a days time.