Skip to main content

How to Setup PnP-Starter-Kit

1. Download PnP-Starter-Kit from the GitHub.



2. Navigate to the https://portal.office.com/adminportal/home#/companyprofile 



3. Set Release preferences to : Targeted release for everyone.  You may get the following error. If you missed to change the setting.






4. Navigate to https://<tenant> -admin.sharepoint.com/_layouts/15/termstoremanager.aspx term store management page. 

5. Add Term store administrator set as "tenant admin" and Save the settings. 

6. It will take 24 hours to save your tenant preferences. 
7. Go to the sp-stater-kit download location.
8. You will find the list of folders and let me explain you the folder one by one.
  • Assists: store all the image and these images being used inside the provisioning scripts files. 
  • documents : Provide the steps how to add the app in app store and how to manage the 3rd party API using API management page. How to add/create new people property in the user profile. 
  • Package : contains the "sharepoint-starter-kit.sppkg" package file. 
  • Provisioning: Folder contains all the JSON, XML and PowerShell Script. This is main folder that being used in the deployment process. 
  • Sample-lob-service: This is just an example of the azure project that you can use as the reference to create the service and deploy and deploy in azure. 
  • Solution: This folder contains all the SharePoint Framework web parts and extensions that being used in this project. 
9. Once you go through all the folders. I would like to you to check the provisioning folder.
  • collab.xml: This is template file and being used for sub sites Marketing and Human Resource site for apply the application customizer web part 
  • collabcommunicationsite.json : Portal application customizer to set the footer links. 
  • collabteamsite.json: Collaboration application customizer for shared links. 
  • deploy.ps1 : deploy the template to your sharepoint tenant. 
  • deployvsts.ps1 : Call the deploy.ps1 and pass some default parameters. 
  • functions.ps1: Helper functions that include in the deploy.ps1 file. 
  • hierarchy.json : The hierarchy specified in the JSON file. 
  • PnP-PortalFooter-Links.xml: The template that contains the data types and other information about the site. 
  • PnPSPPortalShowCase.json: No idea about this file. 
  • portal.xml: Portal template 
  • readme.md: Information steps to help individual to install the PNP starter kit. 
  • solution.xml : deploy WebApiPermission to the tenant for Graph permission. 
10. Start deploy the solution.
  1. Create the Custom user profile property https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/tenant-settings.md
  2. Upload the " sharepoint-starter-kit.sppkg " app catalog. https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/manual-deploy-sppkg-solution.md
  3. Provide the access to the Graph Service. https://github.com/SharePoint/sp-starter-kit/blob/master/documentation/api-management.md
  4. Install the PNP Online latest powershell dependency to connect to the tenant and deploy the package. 
  5. Open PMP Office 365 Online Power Shell. 
  6. Connect to the tenant using PNP PowerShell enter username and password. 
  7. Connect-PnPOnline https://contosodemosk.sharepoint.com 
  8. Set the current working directory to provisioning folder and run the following script.
  9. .\deploy.ps1 -TenantUrl https://contosodemosk.sharepoint.com -SitePrefix demo 

After you complete the execution of the script. You may get the above output of the screen. 
  • Portal Site Layout

  • Team Site Layout



Comments

Popular posts from this blog

SharePoint RPC Protocols Examples Using OWSSVR.DLL

What is SharePoint RPC Protocols? Part 1 This reference includes information about the methods and usage of SharePoint Foundation Remote Procedure Call (RPC) protocol. This protocol can be used in Win32-based applications or in ASPX applications to make HTTP POST requests to the server. Methods in this protocol that do not modify the contents of the database can also be used in URL protocol to make HTTP GET requests. Definition taken from http://msdn.microsoft.com/en-us/library/ms448359.aspx You will find the OWSSVR.DLL in SharePoint 2010 Server Physical Path: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI and MOSS C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI OWSSVR.DLL List of commands DialogView  Display ExportList GetProjSchema GetUsageBlob HitCounter RenderView To read more about the OWSSVR.DLL command Please read the URL Protocol from Microsoft Blog having a URL http://msdn.microsoft.com/en...

SharePoint 2013 Search Database Part 1

SharePoint 2013 Search architecture drastically change, as earlier in FS4SP 2010 we have 2 search applications “FASTContentSSA” and “FASTQuerySSA” and 7 total database in use. Following are the List of DB (FS4SP) FASTContentSSA Search Service Application DB Search Service Application Crawl Store DB Search Service Application Property Store DB FASTQuerySSA Search Service Application DB Search Service Application Crawl Store DB Search Service Application Property Store DB FASTSearchAdminDatabase : Fast Search Admin Database  In SharePoint 2013 search has only 1 Search Service application and 4 database in use. No property store database need any more, now the properties are directly stored inside the index component and all the index directly indexed to the physical system where FS4SP data comes from database as well as from the File system now data directly stored and indexed/ retried from the Physical disk because of this performance increase and search experien...

STS CryptographicException Error : Key set does not exist

Common mistakes Both SharePoint Site and SSO Site NOT running on the same application pool. Application pool identity user doesn’t have permission to access the certification.  Solution to this problem Set the same identity pool to  : 2. Be sure to grant rights to the certificate for the App Pool running the web service Start -> Run -> MMC File -> Add/Remove Snapin Add the Certificates Snap In Select Computer Account, then hit next Select Local Computer (the default), then click Finish On the left panel from Console Root, navigate to Certificates (Local Computer) -> Personal -> Certificates You're certificate will most likely be here. Right click on your certificate -> All Tasks -> Manage Private Keys Set you're private key settings here. Add app pool account Reset iis