serverless / serverless-azure-functions

Serverless Azure Functions Plugin – Add Azure Functions support to the Serverless Framework
MIT License
267 stars 162 forks source link

fix: Don't throw error if subscription ID already specified #295

Closed tbarlow12 closed 5 years ago

tbarlow12 commented 5 years ago

Checks to see if subscription ID is already specified before throwing error message for empty subscription array from an authentication result.

Apparently when a service principal authenticates, there are no subscriptions in the returned array.