Skip to main content

Posts

Important Changes to PnP PowerShell

Key Insights You Won't Want to Overlook About PnP PowerShell Changes There's a big upgrade that can impact your scripts and automation processes if you use PnP PowerShell. What you should know is as follows. What’s Changing? The PnP Management Shell was a multi-tenant app registration that was previously used to access Microsoft 365. This made it possible for you to provide your scripts the permissions they need. On September 9, 2024, however, the multi-tenant app registration was removed. Scripts that rely on it are no longer functional after this date. Why the Change? This change aims to enhance security by encouraging users to switch to single-tenant app registrations. These registrations allow you to specify only the permissions you need, reducing potential security risks. Handle this change by following these simple steps: A. Register for Your Own Application Thanks to recent enhancements in the PnP PowerShell Module, creating an app registration specific to a tenant is no
Recent posts

Get started with PnP PowerShell for SharePoint Online.

Install the PnP PowerShell for SharePoint Online PnP PowerShell is created by the Patterns and Practices (PnP) community, it offers a large collection of cmdlets specifically designed to manage intricate administrative tasks with ease. Whether you're a developer wishing to automate processes or an experienced SharePoint administrator, PnP PowerShell provides a powerful solution to increase your efficiency and productivity. We will go over the basic ideas behind PnP PowerShell, how to install it, and how to connect with the SharePoint Online.  Follow the steps mentioned below: To install PnP PowerShell, ensure you have PowerShell 7.2 or later version. Download the latest version of PowerShell for Windows, Mac, Linux from the link mentioned below. Install PowerShell on Windows, Linux, and macOS You can download the latest MSI for windows using link mentioned below. PowerShell MSI for windows Installing PnP PowerShell : After configuring the latest version of PowerShell, we proceed wi

Google Drive vs SharePoint: The Ultimate Showdown for Your Business Needs

In today's fast paced digital environment, effective document management is critical to the success of any firm. Recently, I had the opportunity to do an evaluation for the migration from Google Drive to SharePoint. This encounter provided some intriguing insights into the relative strengths of these two prominent platforms. Google Drive: A Solid Foundation for File Sharing. Google Workspace, which includes Google Drive at its core, has long been a dependable option for file sharing and storage. It provides a simple and user-friendly interface that enables teams to smoothly share content. Google Drive's ease of use and simplicity in file sharing make it an excellent choice for many enterprises, particularly those seeking a straightforward solution for storing and sharing information.  SharePoint takes collaboration to new heights. However, SharePoint stands out for its powerful collaborative features and comprehensive document management system.  During the examination, it beca

How to Delete a Custom SharePoint Template in SharePoint Online

If you are interested in organizing your SharePoint Online environment by removing unnecessary custom templates, we can assist you. By deleting custom templates , you can enhance the efficiency of your SharePoint site and ensure that only relevant and updated templates are accessible.   This guide will provide you with a detailed, step-by-step process for deleting a custom SharePoint template in SharePoint Online. Whether you are tidying up after a project or reorganizing your site's structure, understanding this procedure will enable you to maintain an efficient and uncluttered SharePoint environment. Let's delve into the specifics to guarantee that your SharePoint site remains optimized for your team's requirements In this blog we are going to delete the custom templates using PnP PowerShell: Note: SharePoint Administration access is required. Connect with the SharePoint, using admin credentials. Connect-PnPOnline "https://yourtenant-admin.sharepoint.com" -Inter

Integrate Google Gemini into SPFx

This article will walk you through the process of effortlessly integrating Google Gemini into the SharePoint Framework (SPFx), so you can use its strong features within your SharePoint environment. Whether you want to optimize content management, or increase overall user engagement, this step-by-step tutorial will provide you with the information and resources you need to get started with Google Gemini in SPFx. These steps will also be useful for integrating Google Gemini Pro AI with React application.  Get the API key: Initially, you'll require an API key. This key serves as your identification to Google Gemini, enabling authentication on your behalf. Create a API Key from Google AI Studio Click here Now follow the steps mentioned below: Create a SPFx web part.  Installing the " GoogleGenerativeAI " package for Node.js is necessary in order to utilize the Gemini API in your SPFx Webpart npm install @google/generative-ai Now we need to initialize the generative model, add

The Use and Significance of SharePoint Content Type

In this post, I discuss SharePoint content types, their usefulness, and a case in which I used content types to create a bespoke solution to meet a demand. Scenario where I used Content Type to achieve the requirement: Recently, I encountered a situation that demanded extracting data from Excel and storing it in a SharePoint list for specific tasks. To tackle this, I opted to automate the creation of SharePoint lists via code. These lists required over 30 columns each. Instead of repetitively creating identical columns whenever an Excel file was uploaded, I devised a solution. I crafted a Content Type, incorporating the necessary columns, and then published it. Upon list creation, I programmatically associated the Content Type with it.  This approach avoids the inefficiency and impracticality of manually generating columns via code for every instance, especially when they remain consistent across uploads. What is SharePoint Content Type? Content type is a reusable set of settings that

How to handle special characters in REST API SharePoint

If you're wondering about enabling special character usage with SharePoint REST API or filtering SharePoint Search REST queries involving special characters, this blog is tailored to address your concerns.  How to allow special characters using SharePoint REST API? SharePoint Search REST query filter with special characters. Special characters can indeed pose challenges when working with APIs like SharePoint REST API or libraries like PnP JS. These characters, if not handled properly, can cause issues such as code breaking or unexpected behavior. Let's see how we can handle this: Special characters in URLs need to be properly encoded to ensure they are transmitted correctly. In JavaScript, you can use the encodeURIComponent() function to encode special characters before making requests to the REST API or using them in PnP JS. For instance, if you possess a 'filterText' variable intended for passing to a function, it's advisable to encode it initially to manage speci

Deploy option missing after adding SPFx Webpart package to site collection app catalog

In this blog, I am sharing the solution to the problem that many users are facing with the site collection level app catalog. Basically, the problems that users face with site collection level app catalog are as follows:   Uploaded SPFx app not deploying - unable to add to site.   App catalog deployment option is not showing.   Deploy option missing after uploading SPFx Webpart in app catalog.   App does not appear in site after deploying .sppkg to app catalog.   Pop up for to deploy the package is not coming on uploading the solution to app catalog.   I did not get the deploy popup when an package is uploaded to the site app catalog.   All the problems mentioned above seem tricky, but they are all not related to your code. These issues will arise if you do not take care of a few points while enabling the site collection level app catalog.   The solution is here:   If you have already enabled the app catalog site and you are facing these issues, just disable the

Essential Considerations: Preparing for a Smooth SharePoint Data Migration

I have recently completed a content migration within the same tenant, transferring data from one site to another. During this process, I encountered several challenges.  Based on my experience I created a checklist specifically for SharePoint content migration. Utilizing this checklist can assist in mitigating challenges and ensure a smoother migration process for you. Embarking on a SharePoint content migration journey? Make sure to explore the following points to ensure a seamless transition: Storage: When dealing with migration on SharePoint, it is crucial to verify the available storage space on the site. Insufficient storage can pose a problem during data movement, potentially causing SharePoint to transition into a read-only mode. It is essential to preemptively address and ensure adequate storage to avoid such issues during the data migration process. Policies: Examine the policies in place on the tenant. Organizations occasionally establish policies to protect data from actions

The retirement of SharePoint Add-Ins within the Microsoft 365 environment

Microsoft has announced news regarding the retirement of SharePoint Add-Ins. Here are the key highlights. Key Notes: Retirement of SharePoint Add-Ins: As part of the development of Microsoft 365 solutions, Microsoft is ending the extensibility approach for SharePoint Add-Ins. As of November 1, 2024, SharePoint Add-Ins will no longer function for new tenants. By April 2, 2026, they will be completely retired for current tenants. Retirement of Public Marketplace: The public marketplace will no longer be used to add, modify, or purchase SharePoint Add-Ins. Microsoft will stop advertising new SharePoint Add-Ins on March 1st, 2024, and after July 1st, 2024, users won't be able to purchase SharePoint Add-Ins from the open market. Microsoft advises: switching from custom-developed SharePoint Add-Ins to solutions based on the SharePoint Framework. If users obtained their SharePoint Add-Ins from the open market, they should ask third parties about updated versions. Affected SharePoint Add