Comments (5)
I will close this issue as the issue as such is not related to the cmdlet functionality. The cmdlet merely uploads the solution using the core library. Effectively the cmdlet is one line of code:
ClientContext.Site.InstallSolution(PackageId.Id, SourceFilePath, MajorVersion, MinorVersion);
However, the Guid is most likely the ID of the field in question.
If you use the cmdlets to connect to the target site, you can retrieve the field in question with:
Get-SPOField -Identity 33e33eca-7712-4f3d-ab83-6848789fc9b6
In the core library we use the DesignPackage classes to upload and activate the solution. While this most of the time works, it's not a given that it works in every environment or with every solution package, as the DesignPackage classes are specifically targeted toward, as the name says, Design Packages. As those are sandboxed solution packages as such, we found that in our test cases the functionality also works with other sandboxed solution packages.
I recommend you to create an issue in the officedev/pnp-sites-core repository if your issue remains.
from pnp-powershell.
@hanielc did you figure out what was the issue? I'm getting an exact same error message when trying to install a sandbox solution.
from pnp-powershell.
@valtynikov, no I was not able to figure it out. I ended up using native CSOM code to get it to work.
from pnp-powershell.
This seems to be an issue with many users, is there a place for support as to why this will not work. From the manifest you can pull out the solution id but it reverts to saying that it has an invalid field name and seems to be the same for the two already on this thread.
from pnp-powershell.
I was getting this issue when the WSP was already in the Solution Gallery and I was running the PnP function for the first time.
Deleting the WSP so it is uploaded fresh via PnP-PowerShell resolved it.
from pnp-powershell.
Related Issues (20)
- [BUG] Set-PnPGroup -SetAssociatedGroup Owners: Access denied.
- Example 1 incorrect on Clear-PnPRecycleBinItem Microsoft Docs page HOT 1
- Get-PnPTerm unable to retrieve labels HOT 2
- [BUG]
- [BUG] Term Store PnP functions fail when using Connect-PnPOnline -SPOManagementShell HOT 7
- [BUG]? - Grant-PnPTenantServicePrincipalPermission timing out HOT 2
- [BUG] false error reported from Add-PnPFolder on large Library
- Connect-PnPOnline- with an option of -ClientId and -ClientSecreat connects successfully but then get unauthorized(401)) for subsequent request example Get-PNPList etc.
- Critical problem with Apply-PnPProvisioningTemplate cmdlet: personal view is created as public view in the destination site
- [BUG] - Move-PnPFolder : The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
- [BUG] Get-PnPSite -Includes Usage Shows Zero for Bandwidth, Hits, Visits
- [BUG] "The user cannot create group sites in this tenant instance." HOT 3
- [BUG] ConvertTo-PnPClientSidePage fails at OfficeDevPnP.Core.Pages.ClientSidePage.AvailableClientSideComponents(String name) - A critical error occurred - transformation did not complete
- [BUG] Get-PnPTerm throws misleading error if term not found
- [BUG] Add-PnPWebhookSubscription. Body empty.
- [BUG]
- Get-PnPFolder : A parameter cannot be found that matches parameter name 'List'[BUG]
- [BUG] Search bar for List gets enabled while trying to hide suitebar search using "Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web". Is there any way to hide search bar for list too.
- [BUG] GCC High client tokens Confidential Client is not supported in Cross Cloud request
- Set-PnPSite command reporting (401) Unauthorized Error, in environment where legacy authentication is blocked HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pnp-powershell.