Skip to content

Commit

Permalink
Merge pull request #1216 from KelvinTegelaar/interface-rewrite
Browse files Browse the repository at this point in the history
corrected tenantId
  • Loading branch information
KelvinTegelaar authored Jan 12, 2025
2 parents 0a17f7b + eec98f1 commit cb45cb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

function Get-CippBreachAlert {
function Get-CippAlertBreachAlert {
<#
.FUNCTIONALITY
Entrypoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Function Invoke-AddGuest {
}
}
$bodyToShip = ConvertTo-Json -Depth 10 -InputObject $BodyToship -Compress
$GraphRequest = New-GraphPostRequest -uri 'https://graph.microsoft.com/beta/invitations' -tenantFilter $Userobj.tenantFilter -type POST -body $BodyToship -verbose
$GraphRequest = New-GraphPostRequest -uri 'https://graph.microsoft.com/beta/invitations' -tenantid $Userobj.tenantFilter -type POST -body $BodyToship -verbose
if ($Userobj.sendInvite -eq 'true') {
$results.add('Invited Guest. Invite Email sent')
Write-LogMessage -user $request.headers.'x-ms-client-principal' -API $APINAME -tenant $($userobj.tenantFilter) -message "Invited Guest $($userobj.displayname) with Email Invite " -Sev 'Info'
Expand Down

0 comments on commit cb45cb3

Please sign in to comment.