Skip to content

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

Description

@snobu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions