Dec 13 2016 09:52 AM
Here's a reusable starter kit for site provisioning solution for SharePoint Online! Get it on GitHub.
Jan 07 2017 04:51 AM
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?
Jan 09 2017 11:39 AM
Adding @Paolo Pialorsi who might be able to provide some additional guidance.
Jan 09 2017 12:09 PM
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! :)
Jan 10 2017 12:19 AM
Hi,
in case of need feel free to ask here or to fire an issue request on GitHub.
Enjoy,
Paolo
Jan 10 2017 01:30 AM
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?
Jan 13 2017 08:31 AM
@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
Jan 13 2017 08:43 AM
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/
Jan 16 2017 07:06 AM
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.
Jan 16 2017 01:21 PM
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 :)
Feb 22 2017 09:47 AM
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?
Feb 24 2017 03:27 AM
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.