Skip to content

createitpt/Create.CSP.GitHub.ScenarioEndToEnd

Repository files navigation

Create.CSP.ScenarioEndToEnd

|create|it| Microsoft Cloud Solution Provider API Integration Samples

These are samples in C# for using the commerce APIs for Microsoft Partner Center, and the Azure AD Graph APIs.

The CREST APIs are documented at https://msdn.microsoft.com/en-us/library/partnercenter/dn974944.aspx. The Azure AD Graph APIs are documented at https://msdn.microsoft.com/Library/Azure/Ad/Graph/api/api-catalog.

Samples

Name Description
End-to-End Provides a sample for a End-to-End provisioning scenario including:
1. Create a Customer with the CREST API.
2. Add an Exchange Subscription with the CREST API.
3. Associate a custom domain with the Azure AD Graph API.
4. Get new domain TXT record for verification with the Azure AD Graph API.
5. Verify domain TXT record configuration with the Azure AD Graph API.
6. Create a new user with the Azure AD Graph API.
7. Assign the new user a Exchange license with the Azure AD Graph API.

Prerequisites

The prerequisites are similar to the other Partner Center and Azure available samples. Please refer to these references for detailed information:

App Configuration

The sample application has several configurable settings in the app.config file. Set the values as appropriate for your tenant.

Configuration Key Description
AzureADAppId-NativeApplication The id of the native tenant application registered in the CSP directory that provisions resources in the customer tenant
CSPServiceUsername Partner Center service account username
CSPServicePassword Partner Center service account password
CSPTenantName The default domain of the reseller in Microsoft Azure. (This is typically an "onmicrosoft.com" domain.)
CSPTenantId The Microsoft Id of the reseller. Used to access CREST APIs.
CSPAppId The id of the application registered in the Partner Center. This id is used to access the CREST APIs.
CSPAppKey The key of the application registered in the Partner Center.

About

Create It Microsoft Cloud Solution Provider API Integration Samples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages