Have to setup for script to work in Azure tenant:
- Appreg in B2C tenant, with clientID, ClientSecret.
- Appreg in StorageAccount, blobstorage contributor.
- AppSettings needs to be configured:
- B2C_TenantID
- TARGET_SubID
- AppReg_ClientID
- AppReg_ClientSecret
- STORAGE_StorageAcc
- STORAGE_StorageContainer
- STORAGE_BlobDirectoryFolder
- STORAGE_FileName