Closed Jeroen-VdB closed 1 year ago
@Jeroen-VdB Thanks for your feedback! We will investigate and update as appropriate.
Hi @Jeroen-VdB Thanks for your contribution. Please add your ideas in below link, so our production team can review it and update the same. Ideas · Community (azure.com)
I extended the upload PowerShell script to work with the environment
appsettings.json
file from the AD B2C VS Code extension.I based the environment variable replacing on the PolicyBuild.ts file from the extension repo.
An example for the content of
appsettings.json
:It will replace defined variables in a custom policy, like:
This way you can use the PowerShell script in an Azure Pipeline as follows:
Just wanted to share this code. Hope this might be of any use. Cheers!
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.