Open sandervandevelde opened 6 years ago
I found that a workaround for me was to use the webapp
endpoint. I wanted see if the a function existed, using something like var test = _azure.WebApps.GetByResourceGroup("group without functionapp", functionappname);
worked as Exists()
function.
When I run
var test = _azure.AppServices.FunctionApps.GetByResourceGroup("group without functionapp", functionappname);
in a resourse group without an existing functionapp, I get an "Object reference not set to an instance of an object" error.When the resource group contains one (or more) Function apps, a correct list is shown (tested with one function app).
Stacktrace: