Forum Discussion
Setting External access options via powershell
mskrgulja Hi, you are using the correct switch as described here.
https://docs.microsoft.com/en-us/microsoftteams/teams-skype-interop#using-powershell
Bear in mind that it can take several days for settings in Teams to take effect.
Hi. thank you for your response.
I thought that it needed several days for settings to become effective, but I assumed that the GUI switch position would reflect the underlying (powershell changed) change immediately (just like is the case with the first setting).
I will try to make the setting with powershell as I did before, but I will wait a few day to see if the changes will be reflected in the teams admin user interface.
Br.
- ChristianBergstromSep 15, 2020Silver Contributor
mskrgulja Hello again, I agree. The GUI should show what setting is set. Please verify the settings if you are on-premise, online or hybrid.
https://docs.microsoft.com/en-US/microsoftteams/manage-external-access?WT.mc_id=TeamsAdminCenterCSH#enable-federation-between-users-in-your-organization-and-consumer-users-of-skype
*edit* just want to add that this preview has not been very well managed. It was rolled out and withdrawn etc. I'm doing some testing of my own and it doesn't look as it should, meaning the GUI says one thing and PowerShell another. So perhaps it isn't working properly now either. Please let me know if it is any difference when following the above prerequisites for Skype consumer federation.
- mskrguljaSep 15, 2020Copper Contributor
I'm dealing with this problem for days now.. I followed a few posts (including the one you linked). Nothing worked.
The first setting(Users can communicate with other Skype for Business and Teams users) is correctly set with powershell and reflected in GUI, just like described in the post you linked (Step 1).
Br
P.S. Thanks for bearing with me.
- ChristianBergstromFeb 22, 2021Silver Contributor
*Updated post*
They mention that you can toggle it on using Teams admin center
https://docs.microsoft.com/en-us/microsoftteams/manage-external-access#communicate-with-skype-users-in-preview
But I've never actually heard of anyone succeeding in doing that so that's why we use PowerShell as also mentioned here
https://docs.microsoft.com/en-us/microsoftteams/manage-external-access#enable-federation-between-users-in-your-organization-and-consumer-users-of-skype
But that's not all steps required and the others are instead listed here
https://docs.microsoft.com/en-us/microsoftteams/teams-skype-interop#using-powershell
So you would have to verify these settings (1, 2, 3) and also be aware of the online vs hybrid scenario https://docs.microsoft.com/en-us/microsoftteams/manage-external-access#enable-federation-between-users-in-your-organization-and-consumer-users-of-skype
1. Set-CsExternalAccessPolicy
-EnablePublicCloudAccess"Indicates whether the user is allowed to communicate with people who have SIP accounts with a public Internet connectivity provider such as MSN. The default value is False."
2. Set-CsTenantFederationConfiguration
-AllowPublicUsers"When set to True (the default value) users will be potentially allowed to communicate with users who have accounts on public IM and presence providers such as Windows Live, Yahoo, and AOL. The collection of public providers that users can actually communicate with is managed by using the Set-CsTenantPublicProvider cmdlet."
3. Set-CsTenantPublicProvider
-Provider"Indicates the public provider (or providers) that users will be allowed to communicate with. Valid values are:"
- AOL
- WindowsLive
- Yahoo
- mskrguljaSep 15, 2020Copper Contributor
Hi.
I did verify the setting (AllowPublicUsers and EnablePublicCloudAccess), and it's set as I left it (the change I made with powershell is applied, but not in the GUI).
I also experimented changing the setting directly in GUI (flipping the switch) but the underlying parameters (CsExternalAccessPolicy -EnablePublicCloudAccess) did not change.
Is there a bug possibility (since Communicate with Skype users is label "in preview")?
Thank you.
Br
- ChristianBergstromSep 15, 2020Silver Contributor
mskrgulja See my edit above 🙂