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: SPFx
Using Power BI to connect to Node.js APIs with Passport authentication
When I started this endeavor, I thought this would be a task that surely someone has written something on. I did lots of searching and really didn’t come back with any thing so instead I stumbled through it and ended up spending most of the afternoon on it. I have a Node.js based API usingContinue reading “Using Power BI to connect to Node.js APIs with Passport authentication”
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”
How to get CSS styles to work in a Fluent UI React Panel control
Sometimes this should be obvious and they just aren’t. I use the Panel component in Fluent UI React / Office Fabric from time to time. I’ve always struggled to work with styles there coming out of my web part’s module.scss file. That’s because they simply aren’t being applied. Let’s look at this simple example webContinue reading “How to get CSS styles to work in a Fluent UI React Panel control”
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)”
How to: Find the Viva Topic Center site using SPFx
Viva Topics is fresh right now and some of you might have already started looking at extensibility. One thing that is useful to know is to know where the Topic Center site is after you’ve created it. It turns out you can find this value pretty easily from any page in your tenant. If youContinue reading “How to: Find the Viva Topic Center site using SPFx”
Workaround for gulp deploy-azure-storage CDN issue with SPFx 1.12
If you use a CDN for your SPFx 1.12 projects, you might have noticed that when you build your SPFx package and try to deploy it to Azure no files are getting copied. You might see something similar when you try to run gulp deploy-azure-storage even though it worked fine in SPFx 1.11. This appearsContinue reading “Workaround for gulp deploy-azure-storage CDN issue with SPFx 1.12”
How to: Use PnP.PowerShell to deploy SharePoint apps with Azure DevOps
Automating SPFx builds and deployment to your environments will save you tons of time after you get it built. I wrote the post How to: Setup CI / CD in Azure DevOps to walk you through step-by-step how to get it working. While this post is largely still valid, there are better ways to doContinue reading “How to: Use PnP.PowerShell to deploy SharePoint apps with Azure DevOps”
Switch to Ubuntu Agent Pools in Azure DevOps for faster SPFx build times
If you have taken the time to set up SPFx builds (CI / CD) in Azure DevOps pipelines, you should take a look at which agent pool you are using. I had always heard that Ubuntu was significantly faster and the rumors are in fact true. I found that Ubuntu cut my build times inContinue reading “Switch to Ubuntu Agent Pools in Azure DevOps for faster SPFx build times”