Microsoft Tech Community Live:  Microsoft Teams Edition
November 09, 2021, 08:00 AM - 12:00 PM (PST)

Disabling toll-free numbers and Dial-out permission For Organization

%3CLINGO-SUB%20id%3D%22lingo-sub-1440294%22%20slang%3D%22en-US%22%3EDisabling%20toll-free%20numbers%20and%20Dial-out%20permission%20For%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1440294%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20policy%20in%20Teams%20which%20can%20disable%20toll-free%20and%20Dial-out%20for%20whole%20organization%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20create%20a%20policy%20in%20Teams%20and%20assign%20it%20to%20specific%20distribution%20group%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1440294%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ETeams%20Admin%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1466512%22%20slang%3D%22en-US%22%3ERe%3A%20Disabling%20toll-free%20numbers%20and%20Dial-out%20permission%20For%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1466512%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98883%22%20target%3D%22_blank%22%3E%40Hasan%20Siddiqui%3C%2FA%3E%26nbsp%3BI%20found%20this%20article%20in%20Microsoft%20Documents%20that%20may%20be%20helpful%3A%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdisabling-toll-free-numbers-for-specific-teams-users%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fdisabling-toll-free-numbers-for-specific-teams-users%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1467732%22%20slang%3D%22en-US%22%3ERe%3A%20Disabling%20toll-free%20numbers%20and%20Dial-out%20permission%20For%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1467732%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F671548%22%20target%3D%22_blank%22%3E%40ShellyFigueroa%3C%2FA%3E%26nbsp%3BHi%20Shelly%2C%20it%20is%20talking%20about%20specific%20users.%20Not%20by%20policy%20for%20specific%20groups.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1467788%22%20slang%3D%22en-US%22%3ERe%3A%20Disabling%20toll-free%20numbers%20and%20Dial-out%20permission%20For%20Organization%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1467788%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F98883%22%20target%3D%22_blank%22%3E%40Hasan%20Siddiqui%3C%2FA%3E%26nbsp%3BHello%2C%20the%20outbound%20calling%20restriction%20policies%20for%20Audio%20Conferencing%20and%20user%20PSTN%20calls%20are%20also%26nbsp%3B%3CSPAN%3Eapplied%20on%20a%20per-user%20basis.%20So%20both%20are%20per-user%20(disabling%20toll-free%20numbers%20and%20this%20one)%20at%20least%20according%20to%20the%20MS%20docs.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EMaybe%20you%20could%20use%20a%20policy%20package%2C%20have%20to%20do%20some%20research.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi, 

 

Is there any policy in Teams which can disable toll-free and Dial-out for whole organization? 

 

Is it possible to create a policy in Teams and assign it to specific distribution group? 

8 Replies

@ShellyFigueroa Hi Shelly, it is talking about specific users. Not by policy for specific groups. 

@Hasan Siddiqui Hello, the outbound calling restriction policies for Audio Conferencing and user PSTN calls are also applied on a per-user basis. So both are per-user (disabling toll-free numbers and this one) at least according to the MS docs.

 

Maybe you could use a policy package, have to do some research.

@ChristianBergstrom Is there any update on this?  We'd like to turn off toll-free for all users by default, and only enable for select users.  As is, we are running a PowerShell script to turn it off for everyone except users within a CSV, and it keeps failing (despite multiple retry attempts).  Please advise.

@FrankBastone Wow, can't even remember I replied to this topic tbh! Especially since I never use these policies. Anyway, I had to refresh myself and from what I can tell you can use Outbound call restrictions - Audio Conferencing & PSTN calls - Microsoft Teams | Microsoft Docs together with Grant-CsDialoutPolicy (SkypeForBusiness) | Microsoft Docs (even to all users in your organization).

 

When it comes to disable the toll-free numbers I really don't know if you can set it for all users at once with a simple command as with the Grant-CsDialoutPolicy. Did a search and found this Disabling Toll Free Dial In Numbers in Microsoft Audio Conferencing – Ten Thirty One

 

Let me ping @Linus Cansby who perhaps knows more about it.

 

Linus, Set-CsOnlineDialInConferencingUser and the AllowTollFreeDialIn $false to all users require some manual PowerShell scripting as per the link above and what @FrankBastone is using, correct?

@FrankBastone Could this be something you are looking for:

TeamsManagement/Teams-AllowTollFreeDialIn.ps1 at main · lcansby/TeamsManagement · GitHub

 

1. Create a CSV file with header UserPrincipalName and one UPN per row below.

2. Run .\Teams-AllowTollFreeDialIn.ps1 -Users C:\Temp\Users.csv -AllowTollFreeDialIn $false

Thanks Christian for the quick reply. We saw these, but the method of removing toll-free on a per user basis is quite challenging given we are constantly adding/removing users via AD-group based licensing, where once a user is provided the Audio conference license, the toll-free is enabled by default, and we can only remove it once the license is active. Ideally, we want to do the opposite, set toll-free off for all by default, and only enable it based on an AD group membership. Appreciate any further advice/recommendations. :)
Thanks Linus. The current script we are using does something similar, but often fails and requires multiple retries. We also have thousands of users that need to be assigned the license, and subsequently turn off toll-free, so this script is not only required for the initial roll-out, but also for ongoing additions/changes. I'll give the script a try and will provide feedback. Cheers.