From 08b1974e46c642e408b3fb69f73f949b58a4189c Mon Sep 17 00:00:00 2001 From: Franta <33802106+millfr@users.noreply.github.com> Date: Thu, 19 Jan 2023 18:02:28 +0100 Subject: [PATCH] some errors in command names --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index eaa383e..153d5b2 100644 --- a/README.md +++ b/README.md @@ -37,17 +37,17 @@ Connect to Microsoft Graph PowerShell with the appropriate permissions: ```powershell Install-Module ImportExcel Install-Module Microsoft.Graph - Connect-MgGragh -Scopes Application.Read.All + Connect-MgGraph -Scopes Application.Read.All ``` This example will export the report to an Excel workbook: ``` - Build-AzureADAppConsentGrantReport -ReportOutputType ExcelWorkbook -ExcelWorkbookPath C:\temp\export.xlsx + Build-AADToolkitAppConsentGrantReport -ReportOutputType ExcelWorkbook -ExcelWorkbookPath C:\temp\export.xlsx ``` This example will retrieve the data and store it in PowerShell objects instead of exporting to Excel: ``` - Build-AzureADAppConsentGrantReport -ReportOutputType PowerShellObjects + Build-AADToolkitAppConsentGrantReport -ReportOutputType PowerShellObjects ``` ### List all users with admin roles and their strong authentication status @@ -57,7 +57,7 @@ Find Users with Admin Roles that are not registered for MFA by evaluating their ``` Connect-MgGraph -Scopes RoleManagement.Read.Directory,UserAuthenticationMethod.Read.All,AuditLog.Read.All,User.Read.All,Group.Read.All,Application.Read.All Select-MgProfile -name Beta - Find-UnprotectedUsersWithAdminRoles -Verbose -IncludeSignIns | Export-Csv ./admins.csv + Find-AADToolkitUnprotectedUsersWithAdminRoles -Verbose -IncludeSignIns | Export-Csv ./admins.csv ```