

I have a Plan – that has a Group and a SharePoint site.Īnd from the Group view I can select Edit Group – then Delete Group (You might also delete via PowerShell or the AD Portal). To run any Azure commands you need to log in to Azure – so the first command is Connect-AzureAD – which will throw up a prompt and you can log in to your Office 365 tenant. If you have installed a previous version of the preview – it may tell you that you need to use the –Force option – in my case on one of my machines I had used an earlier preview – but not on this particular machine – so I was good to go. The next prompt will likely be telling you that you are installing from an untrusted repository – I decided that I did trust the repository and responded Yes at the following prompt. This might prompt you to install the NuGet provider – if it does then just follow those instructions first. If you open PowerShell as an admin (I usually use the ISE) then following the 2nd link above it tells you to look atįor the V2 Preview Release (2.0.0.98 as I write this) and you will need to run: I’ll walk through the scenario – right from installing the Azure module, deleting a Group – see what goes away – and then recovering.įirst the Azure module. The warning message when you delete it probably could be better – but along with the Group you also lose the Plan and SharePoint site that holds some of the other Group/Plan content. The reason our customers (and I work with Planner – so am looking at ‘our customers’ being the ones using Planner) usually lose Plans is that someone (IT admin?) sees the Group and does not recognize it and so deletes it. I think there is also a PowerShell version requirement – but works fine on my Windows 10 laptop. That can be installed in PowerShell following the instructions at

The support article that outlines this can be found atĪnd you also need to be running the AzureAD PowerShell v2 Preview module to get this working. A big announcement yesterday and this is something our customers have really been waiting for – the ability to recover deleted Groups, and with them any other deleted group related content that was deleted along with the group.
