https://pulumi.com logo
#azure
Title
# azure
f

flaky-school-82490

11/29/2021, 12:04 PM
Hi @tall-librarian-49374 I am trying to set up authentication for a FunctionApp using WebAppAuthSettingsV2. How do I set the "Client secret value", aka the value for the MICROSOFT_PROVIDER_AUTHENTICATION_SECRET? Previously, I was able to set it with WebAppAuthSettings.MicrosoftAccountClientSecret, but I cannot find any relevant properties in WebAppAuthSettingsV2.
t

tall-librarian-49374

11/29/2021, 2:45 PM
I don’t know off the top of my head. We’d have to find an example of an ARM template or something.
f

flaky-school-82490

11/29/2021, 8:50 PM
@tall-librarian-49374 Thanks a lot for your reply! I looked at the template for a FunctionApp that I know is configured properly, but could not find anything related to authentication. Attached the template for info. Did I look at the wrong thing?
t

tall-librarian-49374

11/29/2021, 9:22 PM
WebAppAuthSettingsV2
is
Microsoft.Web/sites/config/authsettingsV2
is ARM. It’s not in your example, indeed.
If your example is 100% correct and enough, maybe you don’t need that resource?
f

flaky-school-82490

12/01/2021, 2:04 PM
Mmm, well I'm trying to set a function app that can be accessed from a b2c registered app (Client). I'll double check whether the client secret value is actually required.
3 Views