cba9437988
This pr is auto merged as it contains a mandatory file and is opened for more than 10 days. |
||
---|---|---|
.github | ||
src | ||
.editorconfig | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
Partner-Center-Storefront.sln | ||
README.md | ||
SECURITY.md | ||
azure-pipelines.yml | ||
azuredeploy.json | ||
azuredeploy.param.json |
README.md
Partner Center Storefront
Overview
A web application that acts as a store front for Microsoft partners and enables them to sell Microsoft offers to their customers. The application gives partners the following features:
- Configure the Microsoft offers they would like to sell to their customers. Partners can set the price and append extra details.
- Configure the portal branding to reflect their company branding. This includes setting the company name, header icons, etc...
- Payment. Partners can configure their PayPal pro account which will receive payments from customers.
The store front application currently supports the following languages (French, Spanish, German and Japanese) along with English which serves as the fallback language. It uses the partner's default locale to configure the locale (currencies, date formats, localized offers in the repository) using the partner Profile from Partner Center.
Customers can
- Use the portal to view the offers available, purchase the quantities they need and make a payment from the storefront.
- Log back in and view their subscriptions, purchase extra seats or renew about to expire subscriptions.
- View all the subscriptions (whether they have purchased via the store front or have been managed for them from Partner Center) in the My Account page after they login.
Deployment
You can perform this deployment through Partner Center, to start this process click here. Also, there is a deployment project included in the solution through which, deployment can be started with the specified inputs.
Build & Deploy on your own
If you are interested to fork and custom build/deploy the store front. We recommend reading this blog post by Isaiah Williams
Clone the source code and perform the following steps:
-
Go to Partner Center, Account Settings, App Management and onboard a new Web App. Copy the application ID, application secret and the partner tenant ID into the following settings in Web.Config:
<!-- Enter your Partner Center AAD application ID here --> <add key="partnerCenter.applicationId" value="" /> <!-- Enter your Partner Center AAD application secret here --> <add key="partnerCenter.applicationSecret" value="" /> <!-- Enter your Partner Center AAD tenant ID here --> <add key="partnerCenter.AadTenantId" value="" />
-
Create a Web application in your Azure AD tenant. The portal will assume the identity of this application. Change the following settings in Web.Config to your AD application information:
<!-- The AAD client ID of the application running the web portal --> <add key="webPortal.clientId" value="" /> <!-- The AAD client secret of the application running the web portal --> <add key="webPortal.clientSecret" value="" /> <!-- The AAD tenant ID of the application running the web portal --> <add key="webPortal.AadTenantId" value="" /> <!-- The AAD client ID of the application running the web portal --> <add key="webPortal.clientId" value="" /> <!-- The AAD client secret of the application running the web portal --> <add key="webPortal.clientSecret" value="" /> <!-- The AAD tenant ID of the application running the web portal --> <add key="webPortal.AadTenantId" value="" />
-
Provision an Azure storage account which will store the portal's assets and information. Copy its connection string to:
<!-- The Azure storage connection string which will host the web portal's settings and customers repository. --> <add key="webPortal.azureStorageConnectionString" value="" />
-
Optionally, specify a REDIS cache connection string to improve performance.
<!-- The Azure Redis cache connection string. Empty value will disable caching. --> <add key="webPortal.cacheConnectionString" value="" />