Policy

Allow only company domain accounts

Prevents users from being able to share their session with any guests who are not part of their company or any other company that has been given access. Users must be logged in with their company email to access Live Share. If this policy is disabled, any user from any organization can access a shared Live Share session. Use ; to separate out multiple domains. For example, set the domain name as contoso.com or contoso.com;foo.com For more information, see: https://aka.ms/vsls-policies

Policy
Pack Visual Studio
Category Live Share Settings
Policy ID 3fd666126887
Internal name LiveShareDomainName

Registry

Copy registry mappings

HKLM\SOFTWARE\Policies\Microsoft\VisualStudio\LiveShare\DomainName

Policy notes

Prevents users from being able to share their session with any guests who are not part of their company or any other company that has been given access. Users must be logged in with their company email to access Live Share. If this policy is disabled, any user from any organization can access a shared Live Share session. Use ; to separate out multiple domains. For example, set the domain name as contoso.com or contoso.com;foo.com For more information, see: https://aka.ms/vsls-policies

Related policies