Is Attribute Routing possible in Azure Functions
I am trying to enforce a route parameter to be guid but getting below error "Exception while executing function: GetUser -> One or more errors occurred. -> Exception binding parameter 'req' -> Invalid cast from 'System.String' to 'System.Guid'." public static async Task<HttpResponseMessage> Run( [HttpTrigger(AuthorizationLevel.Admin, "get", Route = "GetUser/{userId:guid}")] HttpRequestMessage req, Guid userId, ILogger log) { } The request i am making is http://localhost:7071/api/GetUser/246fb962-604d-4699-9443-fa3fa840e9eb/ Am i missing some thing? Cannot we enforce route parameter to be guid