Skip to content

Commit

Permalink
provide default tenant id
Browse files Browse the repository at this point in the history
  • Loading branch information
FH-Inway committed Oct 3, 2024
1 parent f457edd commit c4e2684
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion d365fo.tools/functions/import-d365aaduser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ function Import-D365AadUser {
[ValidateSet('Mail', 'UserPrincipalName')]
[string] $EmailValue = "Mail",

[string] $TenantId
[Parameter(Mandatory = $false, Position = 16)]
[string] $TenantId = $Script:TenantId
)

$UseTrustedConnection = Test-TrustedConnection $PSBoundParameters
Expand Down

0 comments on commit c4e2684

Please sign in to comment.