Hi all Can anyone tell my why this isn't creating...
# general
b
Hi all Can anyone tell my why this isn't creating my registered AzureAD.Application associated with the tenant I create?
Copy code
GetClientConfigResult current = await GetClientConfig.InvokeAsync();

		var aadProvider = new Provider(
			name: "AadB2cProvider",
			args: new ProviderArgs {
				TenantId = tenant.Id,
				MetadataHost = "<http://management.azure.com|management.azure.com>"
			});

		var appRegistration = new Application(
			name: Environment.Value.GloballyUniqueName,
			args: new ApplicationArgs {
				DisplayName = env.GloballyUniqueName,
				IdentifierUris = $"api://{env.GloballyUniqueName}.<http://azurewebsites.net|azurewebsites.net>",
				Owners = new[] {
					current.ObjectId,
				},
				SignInAudience = "AzureADMultipleOrgs",
				Api = new ApplicationApiArgs {
				 ...
				}
			},
			options: new Pulumi.CustomResourceOptions {
				Provider = aadProvider,
			});
b
what’s the result of the
up
operation?
can you post the full code?
b
Thank you! It is creating the app, but I find it in the main AAD of my subscription rather than in the new B2CTenant I have created. The source (C#) is here, there's not much to it yet https://wormhole.app/3jrmz#4UxE37gOaANKsgIxkzXkxA
@billowy-army-68599 Is that acceptable, or would you prefer me to paste only text into pastebin?
b
sorry, still getting round to this. a pastebin would be awesome
or github gist
b
b
having someone more csharp literate look at it
b
Thanks!