Closed peter-tridius closed 4 years ago
Thank you for such a great DevOps task! I am using the Functions task to register our function with APIM.
I am getting an error right off the bat though. I am getting an "Access To the Path is Denied" exception, pointing to apimfunction.ps1: line 111
It occurs in the log right after "Enabling Swagger for the target function set" and seems to be associated with the scm url.
My service principal in DevOps has a Contributor role to the subscription.
Hello,
Be sure that you do not have IP restrictions defined on the SCM endpoint. If that's the case, you must use a self-hosted agent that is included in the authorized IP range.
Best Regards
Thank you for such a great DevOps task! I am using the Functions task to register our function with APIM.
I am getting an error right off the bat though. I am getting an "Access To the Path is Denied" exception, pointing to apimfunction.ps1: line 111
It occurs in the log right after "Enabling Swagger for the target function set" and seems to be associated with the scm url.
My service principal in DevOps has a Contributor role to the subscription.