Creating Temporary SharePoint Library Access Groups

Which groups should you create to grant temporary access to a SharePoint document library and ensure they are deleted after 180 days?

A. an Office 365 group that uses the Assigned membership type
B. a Security group that uses the Assigned membership type
C. an Office 365 group that uses the Dynamic User membership type
D. a Security group that uses the Dynamic User membership type
E. a Security group that uses the Dynamic Device membership type

Final answer:

To provide temporary access to a SharePoint document library and ensure the groups are deleted after 180 days, you should create either an Office 365 group or a Security group with Assigned membership types as they can be set to expire after a certain period.

Explanation:

The question involves the creation of groups in Microsoft 365 and Azure Active Directory (Azure AD) to manage access to a SharePoint document library. The requirement is for the groups to be deleted automatically after 180 days. To meet this criteria, you should create:

  • A. an Office 365 group that uses the Assigned membership type
  • B. a Security group that uses the Assigned membership type

Both an Office 365 group and a Security group with Assigned membership types can be configured with an expiration policy in Azure AD to automatically expire and be deleted after a specified duration, such as 180 days. Currently, expiration policies are not supported for groups with Dynamic User membership types or Dynamic Device membership types, thus those options would not be acceptable for the solution.

← Programming creating pet and dog objects Exploring exciting bird nesting behaviors →