Forum Discussion
TJ Cornish
Apr 17, 2017Brass Contributor
How to remove tenant dial plan from user?
We have been playing with tenant dial plans, and the documentation does not indicate how to remove a dial plan from a user. This seems to work: Grant-CsTenantDialPlan - Identity fred.smith@mi...
Kit Skinner
Apr 17, 2017Copper Contributor
Hi TJ,
I just tested this out and it works as long as I use the PowerShell variable "$null". Using "null" implies a string value and a dial plan named "null".
PS C:\> $csou | Get-CsOnlineUser | select tenantdialplan
TenantDialPlan
--------------
PS C:\> Grant-CsTenantDialPlan -PolicyName TestingDP -identity $CSOu.sipAddress
PS C:\> $csou | Get-CsOnlineUser | select tenantdialplan
TenantDialPlan
--------------
TestingDP
PS C:\> Grant-CsTenantDialPlan -PolicyName $null -identity $CSOu.sipAddress
PS C:\> $csou | Get-CsOnlineUser | select tenantdialplan
TenantDialPlan
--------------
PS C:\>
HTH,
-Kit
Mohamad Saleem
Microsoft
Apr 24, 2017Thank you Kit for jumping in for help. Hi TJ, feel free to open a support case if you still need help on this. Thanks!
- TJ CornishApr 25, 2017Brass Contributor
As mentioned in my initial post I noodled through it. I was more complaining about the lack of documentation.
Thanks, though.