SharePoint Online: How to Share and Password Protect Files?

Can You password protect a Document or Excel file in SharePoint Online? Yes! You can share, and password protect a document in SharePoint Online so that when the link is reshared to someone else, They can’t open the document without a password. Prerequisites: The external sharing setting must be set to “Anyone”….

Read more

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

SharePoint Online: How to Register a Never Expiring App ID Secret with Azure AD?

Requirement: Register a never-expiring App for SharePoint Online using Azure AD. Any App ID (or Client ID) registered through SharePoint Online has an expiry date of 1 year by default. How do I register an App ID that’s never expiring? Well, You have to register the App through Azure AD! Here are…

Read more

How to use an Encrypted Password File in PowerShell Scripts?

Requirement: Use an encrypted password file in PowerShell scripts. How to use an Encrypted Password File to Read/Write Credentials in PowerShell? PowerShell modules like PnP PowerShell offers a mechanism to use Windows credentials store to Save and retrieve user name and password to use it in scripts. However, for other PowerShell modules…

Read more

SharePoint Online: How to Configure Information Rights Management (IRM) to Protect Documents?

Requirement: Configure IRM in SharePoint Online. How to enable information rights management in SharePoint Online? Information Rights Management (IRM) Polices in SharePoint Online protect sensitive content from unauthorized users by preventing users from printing or saving copies of a file. Information Rights Management can be applied to Office documents such as Word,…

Read more

SharePoint Online: How to Disable Download Option for Documents?

Requirement: Disable download document options in SharePoint Online. SharePoint Online: How to Disable Download Document Button? Are you looking for a way to disable the download option for documents in SharePoint Online? Well, One of the great features of SharePoint Online is that users can easily access and download documents. However, there…

Read more