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 ways to renew the client secret from the web…

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…

Read more

How to use an Encrypted Password File in PowerShell Scripts?

Requirement: Use a 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

How to Log Out User Sessions in SharePoint Online?

Requirement: Force Log Off all sessions of a user, as he lost his mobile device which is logged-in with SharePoint Online sites. How to sign out of SharePoint Online? As an end-user, you can sign out from SharePoint by clicking on the User icon in the welcome menu, and then click on…

Read more

Limited-access user permission lockdown mode Feature in SharePoint

What is limited-access user permission lockdown mode? In SharePoint, users are assigned to the “Limited Access” permission level automatically when the account is granted exclusive access (unique permission) only to resources such as list/library/document, etc within the site, but not directly to the site itself. E.g. When you grant access to a…

Read more

SharePoint: Find Permission Changes using Audit Reports

Requirement: Get all permission changes in a SharePoint site collection. Auditing permission changes is critical for SharePoint Online security. Audit reports provide permission changes reports to track changes to security such as modifications to permissions, permission inheritance, group membership, and security-related events. Update:SharePoint Online Site Collection audit logs are disabled and can’t be…

Read more