From 7873c3cae1317cd58d4c436d0f718b28405dc8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=BCnsken?= Date: Fri, 16 Oct 2020 10:53:51 +0200 Subject: [PATCH] Update requirements on PowerShell modules Updated the required module names. Identity.Protection CMDlets were moved into Identity.SignIns module. Write note on how to enable beta endpoints vor MS Graph PowerShell SDK --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c02bc0..d49461e 100644 --- a/README.md +++ b/README.md @@ -44,10 +44,10 @@ The IdentityProtectionTools is utilizing the [Microsoft Graph PowerShell SDK Pre 1. Install the following modules from the PowerShell Gallery which are used to execute the logic in this module where you intend to run the module functions - [Microsoft.Graph.Authentication](https://www.powershellgallery.com/packages/Microsoft.Graph.Authentication) -- [Microsoft.Graph.Identity.Protection](https://www.powershellgallery.com/packages/Microsoft.Graph.Identity.Protection) +- [Microsoft.Graph.Identity.SignIns](https://www.powershellgallery.com/packages/Microsoft.Graph.Identity.SignIns) ```ps -Install-module Microsoft.Graph.Authentication,Microsoft.Graph.Identity.Protection +Install-module Microsoft.Graph.Authentication,Microsoft.Graph.Identity.SignIns ``` 2. For the user that you intend to invoke the commands against the [Identity Protection RiskyUsers API](https://docs.microsoft.com/graph/api/resources/identityprotectionroot) you will need the following permissions granted @@ -59,6 +59,11 @@ Install-module Microsoft.Graph.Authentication,Microsoft.Graph.Identity.Protectio **Note**: You will need to consent to the Microsoft Graph SDK PowerShell nodule in the tenant to use it to invoke Connect-Graph. +**Note**: The Risky Users API requires the beta endpoints for MS Graph. To select the beta endpoint and enable the required commandlets in the Microsoft.Graph Powershell modules run +``` +Select-MgProfile -Name "beta" +``` + ## Setup 1. Download the Identity Protection Tools PowerShell Module from this repo