In order to develop for Microsoft Provisioning System (MPS), we recommend that you create a dedicated development environment which is made up of at least a minimal setup for MPS and the hosted service you are developing for, or a lab deployment of the solution reference architecture. In this way, you ensure that the production system is not impacted by any activity during the development phase.
Following is a list of the items you will need if you do not want to deploy the solution completely:
Following are the steps to follow in order to prepare your environment for development for MPS.
Note
When running the MSIs, you will receive a warning that they can only be installed by using the MPS Deployment Tool. To get around this, use this command line without the quotes "msiexec /i msiname.msi ENABLEUI=YES" (the parameter is case sensitive).
Important
Do not use this for a production system; these instructions are for development systems only.
Now that this is done you will have to set up the environment variables on the development server.
You should get a response that is formated XML in green and blue looking like this:
<response>
? <data>
? <organizations>
? <organization name="tailspintoys.com"/>
? </organizations>?
</data>?
</response>
If the response is a error in yellow and red like the following example, the error message might be different.
<response>?
<errorContext description="No provisioning engines are available to process the request." code="0xc2201908"/>
</response>
Make sure that all the environment settings are done correctly. If in doubt please post questions on the Microsoft Provisioning Forum.
Once you have set up MPF, you are now ready to start the process of developing the provider. See Get Started with Provider Development.