Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
8 votes

How to deploy SPFx web parts on SP 2016 on prem?

Please see SharePoint Framework development with SharePoint 2016 Feature Pack 2 In particular, see the section on deployment. Make sure to heed the part about removing the restriction on .json files ...
Rob Windsor's user avatar
  • 12.7k
7 votes

Error occurred in deployment step 'Recycle IIS Application Pool': Invalid namespace

Same problem with VS2019 and Windows Server 2019. In modern Windows here's the solution:
Maurizio's user avatar
  • 143
5 votes
Accepted

SharePoint Online addIn stuck in installation step

There is a know outage on this feature in Office 365 right now. You are probably being affected by it. https://github.com/SharePoint/sp-dev-docs/issues/1318
Robert Lindgren's user avatar
4 votes
Accepted

Removed Farm solutions using (Remove-SPSolution) are still showing inside my site collection "Site features"

Completing removing a solution requires two steps: Retracting the solution (can be done from the the CA, or with Uninstall-SPSolution) Removing the solution (also, can be done from the CA, or ...
Evariste's user avatar
  • 9,731
4 votes
Accepted

How to automate appregnew in SharePoint online?

I fixed it myself. You can register the app in office 365 tenancy[SharePoint Online] using the below Azure AD MSOLService PS Script. $clientID="7c6cbd92-073b-4bc9-9d4a-fc27749f340b"; $newClientSecret ...
Arut's user avatar
  • 196
4 votes
Accepted

How do I add the assembly Microsoft.SharePoint.dll to my project?

As you have SharePoint installed on the development machine (you must), hit Browse... on the Add reference dialog, and you can find the DLL from C:\Program Files\Common Files\microsoft shared\Web ...
Jussi Palo's user avatar
  • 8,176
3 votes
Accepted

How to generate a .wsp file for my Event Receiver using visual studio to be deployed inside my live environment

First off, a SharePoint solution package file is actually a cab file with a .wsp extension. If you switch the extension to .cab, you can open the file and extract the contents so you can examine if ...
Erik Perez's user avatar
  • 1,675
3 votes

How to generate a .wsp file for my Event Receiver using visual studio to be deployed inside my live environment

The above answer is correct or you can have another option as- Delete the .WSP files from the \bin\Debug folder and rebuild the solution. You can find the current/updated date to the WSP. Or You can ...
Ram's user avatar
  • 2,444
3 votes

List installed products & components using powershell

I think this is what you looking for $listApps=Get-WmiObject -Class Win32_Product | Where {$_.IdentifyingNumber -like “*90150000-*”} $listApps | Sort -Property Name | ft -Autosize https://...
Amit Kotha's user avatar
  • 2,157
3 votes

Error occurred in deployment step 'Recycle IIS Application Pool'

Please verify following things Current logged in user is in Administrator group of SharePoint server. Please try once Recycling IIS by IISRESET it worked for me in past
Aakash Maurya's user avatar
3 votes
Accepted

Web Parts missing in SPFx after gulp clean in SPO

Try running below commands in sequence & then upload latest package to app catalog: gulp clean gulp build gulp bundle --ship gulp package-solution --ship After running above commands, you will ...
Ganesh Sanap - MVP's user avatar
2 votes

What is causing a "Cannot find a Feature" error when uninstalling a solution?

Reference 1 and Reference 2 both are useful URL's. It's worked for me to uninstall the solution with Feature ID and then installed it. Hope it would be helpful to others!
Ram's user avatar
  • 2,444
2 votes

Deployed wsp in SharePoint 2013

When you are deploying a SharePoint solution via Cmdlet, you should be aware of that the PowerShell Cmdlet does not activate the features automatically it's not like Visual Studio So you should follow ...
Mohamed El-Qassas MVP's user avatar
2 votes

Isn't this SharePoint design issue that it resets IIS when ever you deploy a solution?

Actually, there's no such thing as "deploying a Web part to a site collection". You deploy a Web part with a WSP package; WSP packages (at least ones that contain Web parts) are deployed against ...
Evariste's user avatar
  • 9,731
2 votes

Error occurred in deployment step 'Activate Features': Feature with Id 'xxxxxxxxxxxxx' is not installed in this farm

The solution I came up with is a temporary fix. I created a shell script to retract, remove and redeploy the solution. So at first I would have a dedicated location to publish my .wsp file than a ...
Muhammedh's user avatar
  • 1,157
2 votes

List installed products & components using powershell

Execute Get-ChildItem "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall" | where-object { $_.PsPath -like "*\Office*" } | foreach {Get-ItemProperty $_.PsPath} | fl DisplayName, ...
Aziz Kabyshev's user avatar
2 votes

OneDrive for Business or SharePoint Online team site?

OneDrive for Business is for employees personal working files. Think of this like working out of My Documents on your workstation. You make the move to OneDrive for Business to work out of the cloud ...
Eric Alexander's user avatar
2 votes

How to generate a .wsp file for my Event Receiver using visual studio to be deployed inside my live environment

Delete the old .wsp file from \bin\debug\. Rebuild and Publish the solution You will get latest WSP file.
Ronak Patel's user avatar
  • 3,251
2 votes
Accepted

Difference between Elements.xml and Schema.xml

I think the accepted answer you're pointing is not completely accurate. The question raised in that post is more probably "Why do all examples I see insert the fields twice?" instead of "Why do I need ...
Evariste's user avatar
  • 9,731
2 votes

How to automate appregnew in SharePoint online?

Please read this link: Register SharePoint Add-ins According to this link you can also Register the add-in through the Seller Dashboard. It's great option if you're going to use your add-in in more ...
Peter Lost's user avatar
2 votes

Easiest way to redeploy an SPFX extension

This is what I've been doing: Increment the version number in the package-solution.json file Upload the new .sppkg and CDN files Go to "Add an App" and click "find out why" link on your app and then ...
Brendon's user avatar
  • 21
2 votes

Can't deploy SPFx Extension tenant wide

May 2019 Update: Tenant Wide Deployment for SharePoint Framework Extensions is supported for application customizers and for List View Command Sets in SPFx 1.6 and later. Tenant Wide Deployment of ...
Rob Windsor's user avatar
  • 12.7k
2 votes
Accepted

Deploying to 80 site collections

As a workaround, you could deploy the solution in the farm. If you want to deply the solution to all web applications, use this: Add-SPSolution "D:\SharePointSolution.wsp" Install-SPSolution –...
Michael Han's user avatar
  • 5,201
2 votes
Accepted

SharePoint 2019 SPFx application customizer - site collection wide automatic deployment

You can also use SharePoint Framework 1.7 with SharePoint 2019. Source: Release notes for SharePoint Framework 1.7. Tenant-wide deployment option was released in version 1.4. Source: Tenant-scoped ...
Ganesh Sanap - MVP's user avatar
2 votes

SharePoint 2019 SPFx application customizer - site collection wide automatic deployment

There seems to be some confusion regarding SharePoint 2019 and SPFx version supported. The link you provided states the following: 2019 Support You can now target SharePoint 2019 in the generator ...
Lou Farho's user avatar
2 votes

Is "sharedhovercard.js" part of SharePoint's default installation?

Is “sharedhovercard.js” part of SharePoint's default installation? It's not a part of the default SharePoint 2013 Installation, and this file is not found on my side! Also, I have checked the ...
Mohamed El-Qassas MVP's user avatar
2 votes
Accepted

Is "sharedhovercard.js" part of SharePoint's default installation?

I just check my SharePoint 16/19 enviroments. The file sharedhovercard.js seems to be included with the installation of SharePoint. Actually, the path of the file in local machine is: C:\Program Files\...
Michael Han's user avatar
  • 5,201
1 vote

How to automate appregnew in SharePoint online?

No, there is not, because the manual granting of consent is part of the app model architecture.
Derek Gusoff's user avatar
  • 8,011

Only top scored, non community-wiki answers of a minimum length are eligible