File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -87,18 +87,8 @@ Function Select-MonkeyTenant{
8787 elseif ($selected_Tenant -and $bypassSelection -eq $false ){
8888 # Authenticate with selected TenantId
8989 $O365Object.TenantId = $selected_Tenant.tenantId
90- $O365Object.Tenant = $selected_Tenant
9190 # Check if already connected
9291 if ($selected_Tenant.tenantId -ne $O365Object.tenantOrigin.objectId ){
93- <#
94- if($null -eq $O365Object.application_args.Item('TenantId')){
95- #Add TenantId
96- [ref]$null = $O365Object.application_args.Add('TenantId',$selected_Tenant.tenantId)
97- }
98- else{
99- $O365Object.application_args.TenantId = $selected_Tenant.tenantId
100- }
101- #>
10292 # Because a new tenant was selected, a new application should be created
10393 Initialize-AuthenticationParam
10494 return $True
You can’t perform that action at this time.
0 commit comments