From 87c635210dac07be145508c3dfa6c0f1fd4bbb4e Mon Sep 17 00:00:00 2001 From: DrIOS <58635327+DrIOSX@users.noreply.github.com> Date: Sun, 4 Aug 2024 16:03:14 -0500 Subject: [PATCH] docs: Update Help --- README copy.md | 11 ++++++----- README.md | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README copy.md b/README copy.md index c5b7457..7055187 100644 --- a/README copy.md +++ b/README copy.md @@ -77,11 +77,12 @@ Sync-CISExcelAndCsvData -ExcelPath "path\to\excel.xlsx" -CsvPath "path\to\data.c Grant-M365SecurityAuditConsent -UserPrincipalNameForConsent 'user@example.com' # Example 8: (PowerShell 7.x Only) Creating a new authentication object for the security audit for app-based authentication. -$authParams = New-M365SecurityAuditAuthObject -ClientCertThumbPrint "ABCDEF1234567890ABCDEF1234567890ABCDEF12" ` - -ClientId "12345678-1234-1234-1234-123456789012" ` - -TenantId "12345678-1234-1234-1234-123456789012" ` - -OnMicrosoftUrl "yourcompany.onmicrosoft.com" ` - -SpAdminUrl "https://yourcompany-admin.sharepoint.com" +$authParams = New-M365SecurityAuditAuthObject ` + -ClientCertThumbPrint "ABCDEF1234567890ABCDEF1234567890ABCDEF12" ` + -ClientId "12345678-1234-1234-1234-123456789012" ` + -TenantId "12345678-1234-1234-1234-123456789012" ` + -OnMicrosoftUrl "yourcompany.onmicrosoft.com" ` + -SpAdminUrl "https://yourcompany-admin.sharepoint.com" Invoke-M365SecurityAudit -AuthParams $authParams -TenantAdminUrl "https://yourcompany-admin.sharepoint.com" ``` diff --git a/README.md b/README.md index eab5305..20d18b0 100644 --- a/README.md +++ b/README.md @@ -77,11 +77,12 @@ Sync-CISExcelAndCsvData -ExcelPath "path\to\excel.xlsx" -CsvPath "path\to\data.c Grant-M365SecurityAuditConsent -UserPrincipalNameForConsent 'user@example.com' # Example 8: (PowerShell 7.x Only) Creating a new authentication object for the security audit for app-based authentication. -$authParams = New-M365SecurityAuditAuthObject -ClientCertThumbPrint "ABCDEF1234567890ABCDEF1234567890ABCDEF12" ` - -ClientId "12345678-1234-1234-1234-123456789012" ` - -TenantId "12345678-1234-1234-1234-123456789012" ` - -OnMicrosoftUrl "yourcompany.onmicrosoft.com" ` - -SpAdminUrl "https://yourcompany-admin.sharepoint.com" +$authParams = New-M365SecurityAuditAuthObject ` + -ClientCertThumbPrint "ABCDEF1234567890ABCDEF1234567890ABCDEF12" ` + -ClientId "12345678-1234-1234-1234-123456789012" ` + -TenantId "12345678-1234-1234-1234-123456789012" ` + -OnMicrosoftUrl "yourcompany.onmicrosoft.com" ` + -SpAdminUrl "https://yourcompany-admin.sharepoint.com" Invoke-M365SecurityAudit -AuthParams $authParams -TenantAdminUrl "https://yourcompany-admin.sharepoint.com" ```