Prime 365 Self-Hosted Deployment process

Hardik Shah -

1. Create Databases

  1. Go to your Azure Management site (here in referred to as "azure site") and click the NEW button at bottom of the page to create a new tenants database.

  2. Provide required field values for the tenant database and click Create SQL Database. Name your database "PrimeProdTenants", but you may choose another name if you wish.



  3. Follow this same process for creating the Settings database


2. Create Storage Account

  1. Go to azure site and click on NEW button at bottom of the page and click Data Services and select Storage Account.

  2. Provide required field values and click Create Storage Account.


3. Create Azure Site

  1. Go to azure site and click on NEW button at bottom of the page to create new web app.

  2. Provide required field values and click Create Web APP. 



  3. Create sub folder hierarchy/site to deploy azure code

  4. Go to Web App and Select the newly created web application

  5. Select Configure section as shown in image below



  6. Scroll down and navigate to the Virtual applications and directories section.

  7. Generate all the paths as listed below.

    / site\wwwroot
    /calendar site\calendar
    /facebook site\facebook
    /look-n-feel site\look-n-feel
    /news site\news
    /perks /perks
    /stocks site\stocks
    /stylizer site\stylizer
    /tasks site\tasks
    /twitter site\twitter
    /video-player site\video-player
    /weather site\weather

      

4. Generate ClientId and Client Secret key

  1. Navigate to https://your-sharepoint-tenancy.sharepoint.com/_layouts/15/appregnew.aspx (replace “your-sharepoint-tenancy” with the URL to your sharepoint.com site).
  2. Click the Generate buttons next to the Client Id and Client Secret text boxes to fill them in automatically.
  3. In the Title text box, enter the value Emgage | Prime (or some other value that will help you to identify the Prime 365 apps that will be installed).
  4. In the App Domain text box, enter the URL value of newly generated azure site in above Step 3.you cannot alter it in future.
  5. In the Redirect URL add the url for the redirect app. If you added app domain as "www.contoso.com" then Redirect URL must be "https://www.contoso.com/"
  6. Click the Create button.
  7. Do not close the browser window until you have copied and pasted both the Client Id and Client Secret and saved it. After closing the browser window, you will no longer be able to obtain the Client Secret and will have to delete the existing registration & repeat these steps to obtain a new one. Be sure to copy the full and complete text of both values and send it over to Emgage.

5. Deploy Product Components

  1. Deployment of Tenant and Settings database scripts into the newly created tenant and settings databases.
  2. Add ClientId and Client Secret key and database connection string entry in the Tenant Database
  3. Deployment of azure code in the azure site created in above Step 3.

6. Generate SharePoint Apps and Deploy in App Catalog

Once Emgage receives Client ID and Secret Key generated in above steps, we will generate SharePoint Apps according to the ClientID. These apps needs to be deployed into the SharePoint App Catalog.You can follow this article to deploy this apps to the SharePoint app catalog.

 7. Add Emgage Apps to Your Site(s)

Once all the above steps are completed, you can follow this article to validate Emgage Apps by adding them to a site.

8. Validate the Apps

Once an app in added in a site, you can follow this article to see how you can validate an app by adding on a page.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk