Deployment notes

  • Key Vault Data Access Admin role must be assigned to the user running the deployment script. Otherwise you will receive a permission denied error when running azd up.
  • Need to add I2-Devops app registration as a contributor on the resource group
  • Create a new client secret for I2-Devops and create the AZURE_CREDENTIALS json object:
{
"clientSecret": "xyz",
"subscriptionId": "dac4e116-47c0-444f-90db-458318df78e6",
"tenantId": "4ccca3b5-71cd-4e6d-974b-4d9beb96c6d6",
"clientId": "448dbb07-10ee-4c6a-91fd-a92f6bc8b987"
}

Ref: https://github.com/Azure/login?tab=readme-ov-file#login-with-a-service-principal-secret

DATA="token=XYZ&content=record&action=export&format=json&type=flat&csvDelimiter=&fields[0]=creds_user&fields[1]=creds_pass&fields[2]=creds_enabled&rawOrLabel=raw&rawOrLabelHeaders=raw&exportCheckboxLabel=false&exportSurveyFields=false&exportDataAccessGroups=false&returnFormat=json&filterLogic=[creds_user]='test' AND [creds_pass] = 'test' AND [creds_enabled] = 1"

initial setup

azd auth login --scope https://management.azure.com//.default
azd config set defaults.subscription 829087ae-007e-48b5-96d9-8287ad3d00d0
azd config set defaults.location centralus
azd init
azd up

node gotchas
brew install node@20
echo 'export PATH="/usr/local/opt/node@20/bin:$PATH"' >> ~/.zshrc

data export

https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/tutorial-spark-connector?pivots=programming-language-python

Deployment

https://github.com/Azure/login?tab=readme-ov-file#creds


Updated on August 7, 2025