Skip to content

Commit

Permalink
Merge pull request #55 from it-pro-berlin-de/master
Browse files Browse the repository at this point in the history
Changed 'principle' to 'principal' in readme.md
  • Loading branch information
merill authored Jul 27, 2022
2 parents 2b9d6c8 + f9ca05c commit bd6b3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ Import-Module "C:\AzureADAssessment\AzureADAssessmentPortable.psm1"
Invoke-AADAssessmentHybridDataCollection
```

### I want to use a service principle identity to run the assessment instead of a user identity
### I want to use a service principal identity to run the assessment instead of a user identity
```PowerShell
## If you prefer to use your own app registration (service principle) for automation purposes, you may connect using your own ClientId and Certificate like the example below. Your app registration should include Directory.Read.All and Policy.Read.All permissions to MS Graph for a complete assessment. Once added, ensure you have completed admin consent on the service principal for those application permissions.
## If you prefer to use your own app registration (service principal) for automation purposes, you may connect using your own ClientId and Certificate like the example below. Your app registration should include Directory.Read.All and Policy.Read.All permissions to MS Graph for a complete assessment. Once added, ensure you have completed admin consent on the service principal for those application permissions.
Connect-AADAssessment -ClientId <ClientId> -ClientCertificate (Get-Item 'Cert:\CurrentUser\My\<Thumbprint>') -TenantId <TenantId>
## If you would like to specify a different directory, use the OutputDirectory parameter.
Expand Down

0 comments on commit bd6b3d3

Please sign in to comment.