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 ```