public void RestoreDeletedUnifiedGroup()
        {
            UnifiedGroupsUtility.RestoreDeletedUnifiedGroup(_groupId, _accessToken);
            var results = UnifiedGroupsUtility.GetUnifiedGroup(_groupId, _accessToken);

            Assert.IsTrue(results != null && results.GroupId == _groupId);
        }
        protected override void ExecuteCmdlet()
        {
            var group = Identity?.GetDeletedGroup(AccessToken);

            if (group != null)
            {
                UnifiedGroupsUtility.RestoreDeletedUnifiedGroup(group.GroupId, AccessToken);
            }
        }
        public void RestoreDeletedUnifiedGroup()
        {
            if (string.IsNullOrEmpty(_accessToken))
            {
                Assert.Inconclusive("Access token could not be retrieved, so skipping this test");
            }

            UnifiedGroupsUtility.RestoreDeletedUnifiedGroup(_groupId, _accessToken);
            var results = UnifiedGroupsUtility.GetUnifiedGroup(_groupId, _accessToken);

            Assert.IsTrue(results != null && results.GroupId == _groupId);
        }