Project has evolved a lot since it started, and now most of the customizations can be made out of the box. You may want to customize AzureCP to:
- Use AzureCP with multiple SPTrustedIdentityTokenIssuer.
- Have full control on the entities (permissions) created by AzureCP.
For that, you can create a custom class that inherits AzureCP class. Each release comes with its own version of AzureCP.Developers.zip, which contains a Visual Studio project with sample classes that demonstrates various customizations. Each class inheriting AzureCP is a unique claims provider, and only 1 can be installed at a time by the feature event receiver.
Common mistakes to avoid:
- To avoid confusion, consider to completely uninstall standard AzureCP.wsp solution before you deploy your sample.
- Always deactivate the farm feature adding the claims provider before retracting the solution. Check this page for more information.
- If you create your own SharePoint solution, DO NOT forget to include the azurecp.dll and all other NuGet package assemblies in the wsp solution.
If something goes wrong during solution deployment, check this page to resolve problems.
In any case, do not directly edit AzureCP class, it has been designed to be inherited so that you can customize it to fit your needs. If a scenario that you need is not covered, please submit it in the discussions tab.