How to renew a Client Secret in SharePoint Online using PowerShell?

Requirement: Renew a client secret in SharePoint Online. How to Extend the Validity of a Client Secret in SharePoint Online? Any Client ID (or App ID) and client secret registered through SharePoint Online’s /_layouts/15/AppRegNew.aspx has the validity of 1 year, and there are no ways to renew the client secret from the…

Read more

Site Assets Library missing in SharePoint Online? Here is the fix!

Problem: Site Assets Library missing in SharePoint Online. How to Create Site Assets Library in SharePoint Online? The site assets library usually stores images, logos, audio-video, CSS, and JS files, and it gets created automatically when you start customizing your site. E.g., changing the site logo, uploading an image for the Hero…

Read more

Open a Document in Browser instead of Client Application in SharePoint Online

Requirement: Open documents in the browser in SharePoint Online. How to Force Documents open in Browser instead of the Client Application? The “Open Documents in Client Applications by Default” feature and the library settings “Opening Documents in the Browser” decide whether a document should be opened in the web browser or in…

Read more

SharePoint Online: How to Recover Deleted Files from Preservation Hold Library?

Requirement: Restore deleted files from the Preservation Hold library. SharePoint Online: How to Recover Deleted Items from Preservation Hold Library? The Preservation Hold Library in SharePoint Online and OneDrive preserves edited or deleted files to ensure there is no loss of data through accidental or willful deletion or editing of items under…

Read more

How to Add Page Anchor Links in SharePoint Online Modern Page?

Requirement: Add modern page anchor link in SharePoint Online. How to Create Bookmarks on a modern page in SharePoint Online? Page Anchors are links to another section on the same page. E.g., Jump to section, Table of contents, etc., on long pages. You can create the page anchor by using any of…

Read more

How to Embed a Video to SharePoint Online Modern Pages?

Requirement: Add a Video to SharePoint Online page SharePoint Online: How to Add Videos to Modern Page? Adding video to SharePoint Online pages is a common requirement, and the options available can vary depending on where you want to host the video. There are three ways to add videos to SharePoint Online…

Read more

SharePoint Online: Show or Hide a Form Field based on Another Field’s Value using Conditional Formula

Requirement: Show or Hide a field based on another field’s value in SharePoint Online list form How to Show or Hide a Field based on Another Field in SharePoint Online? In the past, we used to achieve this using jQuery Show or Hide SharePoint List Form Fields based on Another Field’s Value…

Read more

SharePoint Online: Download Files from a CSV using PowerShell

Requirement: Download all files from a CSV file in SharePoint Online PowerShell Script to Bulk Download All Files from a CSV in SharePoint Online In this blog post, we will walk you through the process of downloading files from a SharePoint Online site. We’ll be using a CSV file as our source…

Read more

SharePoint Online: How to Create Alerts in Office 365 Security & Compliance Center?

The Office 365 Compliance & Security center lets you create alerts for specific events in SharePoint Online sites, such as permission changes, file-folder manipulation, etc. Let’s see how to create an alert when someone shares a file or folder with external users in SharePoint Online: Create Alert Policy for SharePoint Online in…

Read more

SharePoint Online: PowerShell to Iterate through All Site Collections

Requirement: PowerShell to iterate through all site collections in SharePoint Online Tenant How to loop through all sites in SharePoint Online? Have you ever wanted to loop through all the sites in your SharePoint Online environment? Maybe you want to get a list of all site owners, or simply enumerate all the…

Read more