How to identify via API if retention policy is assigned on SPO sites ?

Steel Contributor

Is there any flag (preferrable via API) which indicates that a retention policy is active on SharePoint Sites ?

if yes, do i get somehow the name of the policy as well?

 

 

1 Reply

is there really no way to find out if a retention policies are active on SPO Sites (via API)?

 

i can't find anything via Graph API :(

 

i want to create a list of SPO Sites including the parameter if a retention policy is active.

Ideally i would pull also details of the policy itself (e.g. policy name, period settings, preservation lock, etc..)