On this line https://github.com/MS-GPS-Hackathons/MS-Identity-For-Apps-Hackathon/blob/main/Student/Resources/Challenge_D2_06/DeployClaimsEnrichAPIB2C.azcli#L86
the az command sometimes returns a function URL for an /admin endpoint, that is not the function URL thus won't work when calling it. I'm not able to reproduce it but i've seen it happening for one team.
Not sure what's going on but we could form the URL ourselves by concatenating https://FUNCTIONAPP_NAME.azurewebsites.net/api/FUNCTION_NAME to workaround it.
On this line https://github.com/MS-GPS-Hackathons/MS-Identity-For-Apps-Hackathon/blob/main/Student/Resources/Challenge_D2_06/DeployClaimsEnrichAPIB2C.azcli#L86
the az command sometimes returns a function URL for an /admin endpoint, that is not the function URL thus won't work when calling it. I'm not able to reproduce it but i've seen it happening for one team.
Not sure what's going on but we could form the URL ourselves by concatenating
https://FUNCTIONAPP_NAME.azurewebsites.net/api/FUNCTION_NAMEto workaround it.