Skip to content

Instantly share code, notes, and snippets.

@adeelnasir
Last active March 18, 2020 09:47
Show Gist options
  • Save adeelnasir/c005430ff287b90192fbdc666233d181 to your computer and use it in GitHub Desktop.
Save adeelnasir/c005430ff287b90192fbdc666233d181 to your computer and use it in GitHub Desktop.
App config for the webjob
<appSettings>
<add key="b2c:Tenant" value="Azure AD B2C Tenant ID or Name" />
<add key="b2c:ClientId" value="Azure AD B2C Tenant App Registration Id" />
<add key="b2c:ClientSecret" value="Azure AD B2C Tenant App Registration Client Secret" />
<add key="b2c:IEFGraphAppId" value="Azure AD B2C Tenant App Registration Id without hyphens" />
<add key="azure:StorageAccountName" value="Storage Account Name for CSV file" />
<add key="azure:StorageAccountAccessKey" value="Storage Account Access Key" />
<add key="azure:InputFileName" value="input/users.csv" />
<add key="azure:LogFileName" value="log/log-timestamp.txt" /><!--timestamp would be replaced while creating-->
<add key="azure:OutputFileName" value="output/output-timestamp.txt" />
<add key="azure:PasswordFileName" value="output/passwords-timestamp.txt" />
<add key="azure:ExportPasswords" value="yes" />
<!--Common-->
<add key="azure:common:ContainerName" value="bulkload" />
<add key="b2c:common:CustomAttribute1" value="UserId" />
<add key="b2c:common:CustomAttribute2" value="AuthenticationPhoneNumber" />
<add key="b2c:common:CustomAttribute3" value="UserSource" />
<add key="b2c:common:CustomAttribute3Value" value="Migrated" />
</appSettings>
@sblisztomaniac
Copy link

can you help me? I have a similar problem to solve but I dont have much experience to code. I would be really greatful if I could get some guidance from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment