Sunday, July 31, 2022

Microsoft Teams user administration using Set-CsOnlineVoicemailUserSettings

Now tenant admin can help with user for custom greetings, 
DefaultGreetingPromptOverwrite and DefaultOofGreetingPromptOverwrite many other user settings on behalf of users. This may help to end users when they are away to set up forwarding rules to another colleague or external number etc.

Set-CsUserCallingSettings -Identity "" -IsForwardingEnabled $True -ForwardingType Immediate -ForwardingTarget -ForwardingTargetType SingleTarget - Verbose

Note: You must have PhoneSystem License attached for you to have this forwarding to a another person. Basically both users must have PhoneSystem License. 

Forward to external number when you try this make sure you are using E.164 standard for phone numbers. 

Set-CsUserCallingSettings -Identity ""  -IsForwardingEnabled $True -ForwardingType Simultaneous -ForwardingTargetType SingleTarget -ForwardingTarget "+1365888xxx" - Verbose

: You must have PhoneSystem License attached for you to have this forwarding to a number. 

Immediate transfer to voicemail 

Set-CsUserCallingSettings -Identity -IsForwardingEnabled $true -ForwardingType Immediate -ForwardingTargetType Voicemail -Verbose

Delegate scenario when manager secretary or Team member after few seconds rings Unanswered delay is 30sec

Set-CsUserCallingSettings -Identity - IsUnansweredEnabled $true -UnansweredTargetType MyDelegates -UnansweredDelay 00:00:30

You can review the change settings by following PS commands

Get-CsUserCallingSettings -Identity "" | fl

Finally removed the configuration 
Make sure once end user comeback from vacation or whenever user want change it, use following PS command. Which will reset user configuration what you made. 

Set-CsUserCallingSettings -Identity -IsForwardingEnabled $false


Monday, July 11, 2022

Teams - SfB Hybrid and federation

Hosting Provider 

To share the same SIP address in On-prem and online (Teams) required hybrid to set/change Hosting Provider. 

for you to run get-cshostingProvider you will required Skype for business Online (old) module or Skype for business ISO mount and install the tools.

Hosting provider identity should be Office365 

Proxy FQDN should be ""

Enable to $True

Enabled Shared Address Space $True

Host OCSUsers    $True

VerificationLevel    $True

AutoDiscoverUrl  need to set

Tenant Federation Configuration 

SharedSIPAddressSpace should be True 

Access Edge Configuration 

Make sure set all the important properties you need to True 

Teams calling user cannot assign a phone number due to licensing and usage

Overview  Admin experience when he/she try to assign a number to an user, "No results were found"  1.  Replication delay &  Li...