Skip to main content

Guest Access to Office Portal

Author by Brett Janzen

One great feature of Administering multiple tenants in Office 365 is the Guest Access. The old days we would have to manage multiple accounts and various passwords.

Here is the quick Start from Microsoft.

On the receiving end it is as simple as clicking the link when the email arrives from the tenant.

Once accepted you can view what you have access to by selecting “my apps”

In this case I don’t have access to anything.

Being a PowerShell guy, I like the part of signing in via powershell to the Guest Domain.

$AdminName = ""
$Pass = Get-Content "cred.txt" | ConvertTo-SecureString
$credential= new-object -typename System.Management.Automation.PSCredential -argumentlist $AdminName, $Pass
$credential = get-credential
$session = New-CsOnlineSession -Credential $credential -OverrideAdminDomain ""
Import-PSSession $session -AllowClobber
import-module skypeforbusiness
Install-Module MicrosoftTeams
Set-ExecutionPolicy Unrestricted -force

In the session connection the key identifier is the OverrideAdminDomain.

This streamlines managment of multiple tenants, as well as easy way to enable people outside your org to manage items in your tenant.

Feel free to leave comments or questions below.