MicrosoftLearning / MS-102T00-Microsoft-365-Administrator-Essentials

MIT License
42 stars 42 forks source link

Fix the restore deleted group work-around in Lab 1, Ex 2, Task 4 #85

Closed ITBlandMCT closed 7 months ago

ITBlandMCT commented 7 months ago

Module: 01

Lab/: 01

Exercise 02

Task: 04

Description of issue A work-around was created due to the change in the Get-MgDirectoryDeletedItem, we could use the Get-MgDirectoryDeletedItemAsGroup to get the Id and go back to the old (simple) instructions.

Repro steps:

  1. In Step 7, Run MgDirectoryDeletedItemAsGroup and copy the ID value for "Inside Sales".
  2. In Step 8, Run Restore-MgDirectoryDeletedItem -DirectoryObjectId and paste the ID.
  3. (And remove the work-around note from the task description.)
tfrink commented 7 months ago

Thanks ITBlandMCT!!! We were planning to test this lab in the upcoming weeks to see if the PowerShell had been updated since our last test to see if it returned the object ID. Thank you for providing this solution. I have applied it to the lab steps.