Functions/Set-IATenantHeader.ps1
Function Set-IATenantHeader { param( [Parameter(Mandatory = $true)] $tenantId ) if ($script:Headers.Keys -notcontains "TenantId") { $script:Headers = $Headers + @{ "TenantId" = $tenantId } } else { $script:Headers.TenantId = $tenantId } } |