With SPFx 1.15.2, a new feature snuck in that allows you to enable service principal registration when you are approving the permissions of the app. If you have ever had your SPFx solution talk to an AAD secured API, you know that not configuring the App Registration in the customer’s tenant can cause problems. Historically,Continue reading “Enable Service Principal Registration at Permission Scope Approval Time with SPFx 1.15.2”
Tag Archives: Office 365
Failed to load plugin ‘@typescript-eslint/eslint-plugin’ declared in ‘.eslintrc.js with SPFx 1.15 and Azure DevOps Pipeline
With the transition to ESLint with SPFx 1.15, the migration has been challenging to say the least. While new ESLint rules have found some legitimate issues in my code, they have required me to touch almost every file in my projects. Recently, when I finished all of my changes and had everything building successfully locally,Continue reading “Failed to load plugin ‘@typescript-eslint/eslint-plugin’ declared in ‘.eslintrc.js with SPFx 1.15 and Azure DevOps Pipeline”
Connecting to other sites with PnP JS 3.0.0
With the release of PnP JS 3.0.0, you’ll need to tweak a bit of code throughout your project. One particular case that has caused me issues in the migration is cases where you opened a Web or Site directly using it’s constructor such as the following: This syntax is no longer valid in PnP JSContinue reading “Connecting to other sites with PnP JS 3.0.0”
7 Tips for upgrading to SPFx 1.13.0 (or any other version)
I’ve been testing Beta 13 of SPFx and wanted to share these tips. Welcome SPFx beta versions Upgrades to SPFx are usually painless, but sometimes (like in version 1.12.0), there are issues. The SPFx team now releases beta versions of each SPFx release giving us an opportunity to try our code with it before upgrading.Continue reading “7 Tips for upgrading to SPFx 1.13.0 (or any other version)”
Viva Connections is coming. Are you ready?
Viva Connections is almost here. Microsoft has released some preliminary documentation which describes the steps to activate it once it becomes generally available. Reading the documentation, you will see that using Viva Connections is a completely opt-in experience and requires specific actions by a global administrator. According to published documentation, the PowerShell script will beContinue reading “Viva Connections is coming. Are you ready?”
Image resizing on Modern SharePoint pages
Through the use of image renditions, Modern SharePoint pages actually do a pretty good job of rendering an image without much manual adjustment. I have had many people ask me what size to make an image and more often than not, it’s the aspect ratio that means more than anything. Microsoft has updated their guidanceContinue reading “Image resizing on Modern SharePoint pages”
Using Microsoft Forms with Attachments
I’m a huge proponent of Microsoft Forms. In my organization, we’re starting to use them for everything. Here’s just a sample of some of my forms, they really are making life easier when it comes to collecting data. However one of the gaps when we started implementing them was the lack of attachments. This wasContinue reading “Using Microsoft Forms with Attachments”
Microsoft Forms Web Part error: “This is not a valid form link.”
Last week, I was building some simple request forms using Microsoft Forms and I wanted to embed one on a modern SharePoint Page. I created, the form, added the Microsoft Forms web part, but when I pasted the link to the form, I got the following error: This is not a valid form link. PleaseContinue reading “Microsoft Forms Web Part error: “This is not a valid form link.””
SPFx Basics: Opening a link in a new tab
It turns out opening a link to a new tab is now in your SPFx web part in SharePoint is not as simple as you would think. You would think that simply adding target=”_blank” or target=”_new” would do the trick. It does not. It works for external links but link to other SharePoint pages willContinue reading “SPFx Basics: Opening a link in a new tab”
How to: Provision Lookup Columns and Projected Fields using PnP PowerShell
If there is anything that is hard to work with in SharePoint, it’s lookup columns. While it’s so easy and simple to create them through the SharePoint user interface (well the classic interface), they are incredibly complex to provision programmatically. I remember struggles behind provisioning lookup columns going back as far as 2007 if notContinue reading “How to: Provision Lookup Columns and Projected Fields using PnP PowerShell”