Forum Discussion
Caller ID
This page still needs a lot of work. The instructions to intially connect to the tenant via Powershell are incorrect. There are at least two errors - some lines use the $credential variable, and some use the $cred variable, and the powershell session isn't imported.
It should be something like:
Import-Module "C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
$credential = Get-Credential
$session = New-CsOnlineSession -Credential $credential
Import-PSSession $session
Geez, you guys.
https://support.office.com/en-gb/article/Set-the-Caller-ID-for-a-user-c7323490-d9b7-421a-aa76-5bd485f80583?ui=en-US&rs=en-GB&ad=GB
This is wrong:
Import-Module "C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
$Credential = get-credential
connect-msolservice -credential $cred
$session=New-CsOnlineSession -Credential $cred
This is correct:
Run this command ONLY once:
Import-Module "C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnector.psd1"
Then each time you want to start a session, run these:
$credential = Get-Credential
$session = New-CsOnlineSession -Credential $credential
Import-PSSession $session