Hi,
I am getting the error when I publish the azure function, locally it does not complain the URI The error message is "An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set."
var driveitempath =graphendpoint + "/sites/" + Environment.GetEnvironmentVariable("pdf:SiteId") + "/drive/items";
string url = drivesitempath + "/" + fileId + "/content?format=pdf"
httpClient.GetAsync(url);
So, if I hard-code the url it works ,but I am trying to achieve no hard-coded values.