Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Functions deploy script sometimes returns wrong URL for function #3

Open
snobu opened this issue Dec 14, 2022 · 0 comments
Open

Comments

@snobu
Copy link

snobu commented Dec 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant