Hi Jitender,
Could you please describe which policy you want to assign to site.
For example, if you want to create a new external policy to a site Redmond to set both the EnableFederationAccess and the EnableOutsideAccess properties to True, you could run the following commend:
New-CsExternalAccessPolicy -Identity site:Redmond -EnableFederationAccess $True -EnableOutsideAccess $True
You could refer to the
New-CsExternalAccessPolicy.
About how to validate it, you could use the commend with Get. In addition, you could also try to test the behavior in the external website.
Best Regards,
Evan Jiang
Please remember to
mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact
tnsf@microsoft.com.
Click
here to learn more. Visit the dedicated
forum to share, explore and talk to experts about Microsoft Teams.