PnP Partner Pack v. 2.0

Microsoft

Here's a reusable starter kit for site provisioning solution for SharePoint Online! Get it on GitHub.

 

SharePoint 6 440x220.jpg

12 Replies

Hi guys,

 

thank you so much for this great starter pack.

I'm stumbilng into an odd issue though and it might be just me not being Visual Studio savvy. Long story short I have followed the great guide made by Paolo, however when I try to build/publish the solution from within Visual Studio I'm seeing several errors and then the build stops.

What am I doing wrong?

 

I've downloaded the partner pack from github and haven't touched anythinb but the webconfig file (via the provided powershell). Should work straight out, shouldn't it?

Adding @Paolo Pialorsi who might be able to provide some additional guidance. 

Thank you Michael!

However, just as you've posted here I have found my problem.

 

@Paolo Pialorsi - FYI my Virtual machine did not have some libraries (Microsoft.IdentityModel) and another dependency. Eventually I've fixed it by some further googling :)

Even thought I found out that the .dll is included in the github repo, for whatever reason Visual Studio didn't "see" it?

 

 

Obviously it's just me not being Visual Studio savvy.

 

Now I'm stuck on another problem with Azure's webapp, but haven't had the time yet to trouble shoot it.

Anyways - thank you so much for both the partner pack and the great tutorials! :)

 

Hi,

in case of need feel free to ask here or to fire an issue request on GitHub.

Enjoy,

Paolo

 

Tante grazie, di fatti ho un problema adesso - continuo in Inglese :)

 

So, my issue right now is that I do have the UI and all seems alright, but nothing is happening.

For example, when I try to provision an empty site collection the job's status is pending the icon is spinning, but no site collections are being created if I check the site collection admin portal.

 

I did publish the 2 remaining webjobs and made sure that he app.config is reflecting the configuration from the web.config from the siteprovisionig project (I updated the configs manually in VisualStudio).

 

I was about to check the webapp logs to check for errors, but didn't have the time yet.

Before I do so, do you have some quick tips that I should verify before checking the logs?

 

@Harris Medović I'm having the same issue (see attached) but I don't have a Microsoft.IdentityModel.dll in packages or any other folder.  I see a bunch of other Microsoft.IdentityModel.*.dll's but no Microsoft.IdentityModel.Claims.  Any help much appreciated.

 

-Eric

Hi @Eric Halsey, while I'm far from a Visual Studio expert, try installing the package from NuGet in Visual studio's console.

With the solution open, click on the console and type this in:

Install-Package Microsoft.IdentityModel

 

ref:

https://www.nuget.org/packages/Microsoft.IdentityModel/

 

 

 

Hi,

The ScheduledJob have to be scheduled following the instructions provided here (https://github.com/SharePoint/PnP-Partner-Pack/blob/master/Documentation/Manual-Setup-Guide.md#publi...). Have you done that?

 

About the ContinuosJob, it works based on messages queued in the blob storage queue that you create following this step (https://github.com/SharePoint/PnP-Partner-Pack/blob/master/Documentation/Manual-Setup-Guide.md#azure...). Can you see the queue? Can you see any pending message in the queue? You can use tools like Microsoft Azure Storage Explorer (http://storageexplorer.com/) to inspect the queue.

Hi @Paolo Pialorsi,

 

thank you very much again.

Long story short, it was something with my VM and it's Visual Studio. I kept building "funny" builds that would throw errors left and right primarily due to wrong references in the build.

 

Eventually I tried on a different machine and simply by restoring the nuget packages, I got it all working properly. So yes, the provisioning process now works:)

Thanks again.

 

One small note, in your Youtube guide you don't mention the scheduler job part that you wrote above, so previously I didn't do that (however I had other bigger issues). Now I've completed that too and all seems shiny. Now I need to start customizing and figuring out what the options are :)

 

 

Hey Paolo,

 

I'm having some issues creating the Scheduler Job Collection (instructions/screenshot pasted below assume it already existed, but in all the tests I've done it never was)

 

Not sure about some of the settings not shown in the screenshot (method, action, etc). Can you throw me a screenshot?

Hi,

We've just released a new Setup Wizard tool for the PnP Partner Pack. You can find it in "preview" in the DEV branch of the PnP Partner Pack. Maybe you want to setup the project using that tool, instead of doing a manual setup. JFYI.

Please see the above reply. Thanks.