Timebound SharePoint Online site template

abhijeet khopade 21 Reputation points

Hi Experts,
I need to know if we have a provision to create a Time bound license for SharePoint Online site? I need to deploy it to the client but it should work only for few days, like Demo version. How can I do that? Is there any way that I can configure so that after 2 weeks site will be automatically disabled but its content will remain there and then with the configuration setting I should be able to enable it again?

Thanks in advance

A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,547 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,567 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Allen Xu_MSFT 13,771 Reputation points

    Hi @abhijeet khopade ,

    As per my knowledge, It is impossible to automatically disable a SharePoint Online site after a certain time. We can delete a site and restore a site manually as an alternative. When you, as a global or SharePoint admin in Microsoft 365, delete a site, it's retained as a deleted site for 93 days. Also, all contents within it are retained for 93 days. You can restore the site and all contents within it at any time during the 93 days.

    Delete a site
    Restore deleted sites

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.