Deployment error
I created a simple solution with a custom list and I am testing packaging and manual deployment. I packaged the solution, downloaded the package and added it to the app store in a different tenant. I can add the app/add-in to a site but when I deploy the add-in I am getting below error. I am global tenant admin and I have enabled the scripting capabilities about 5 days ago so I don't think that is the problem. What could be wrong?

-
Try to do the following:
Check are they really enabled:Connect-SPOService https://yoursite-admin.sharepoint.com
Get-SPOSite -Identity https://yoursite.sharepoint.com -Detailed | FLThere should be a "DenyAddAndCustomizePages" property. If the status is "Disabled", the capabilities are enabled.
To enable scripting on a particular site collection immediately, use the following PowerShell command:
Set-SPOSite -Identity https://yoursite.sharepoint.com -DenyAddAndCustomizePages $falseTo disable:
Set-SPOSite -Identity https://yoursite.sharepoint.com -DenyAddAndCustomizePages $true
Hope this helps.0 -
Thanks. I guess it took some time, later it all worked.
0 -
We have the issue, that Cross Site Lookup fields are running into an error. Whats the procedure to set the reference to the correct site?
0 -
Depends on where problem occures.
For deployments you can correct cross-site lookup source during verification step:

Since you can't change the target list of a lookup field in SharePoint it's not possible to correct that on SharePoint UI.
You have to update the schema programmatically. https://www.google.com/search?q=change+source+list+sharepoint+lookup+column
0
Please sign in to leave a comment.
Comments
4 comments