New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use App Configuration from DevOps build pipeline #202
Comments
@calloncampbell can you please confirm you do have App Configuration stores already created under the selected subscription and you have owner permission to them? |
@Yiming-Jia, any other suggestions? |
Hello @calloncampbell , I'm sorry for the inconvenience. Currently I'm not able to reproduce this issue under our testing build pipeline. Could you provide more information about this? One thing could give us more details is that if you open Another thing you could confirm is that the service connection in the build pipeline needs to be authorized for the subscription. For example, I have my selected service connection as a contributor role for the whole subscription. Please let me know if you find more details. |
This is the error I see in Developer Tools window…
errorMessage: "Failed to query service connection API: 'https://management.azure.com/subscriptions/providers/Microsoft.AppConfiguration/configurationStores?api-version=2019-02-01-preview'. Status Code: 'NotFound', Response from server: '{"error":{"code":"SubscriptionNotFound","message":"The subscription 'providers' could not be found."}}'"
I did go into my
I did go into my Project pipeline service connections and for the one I selected for the above error, I added the Contributors role.
--
Callon Campbell
Cloud Solutions Architect | Software Developer | Microsoft Azure MVP
@flying_maverick | https://TheFlyingMaverick.com
+1 (416) 357-9114
From: yijia<mailto:notifications@github.com>
Sent: November 28, 2019 8:29 PM
To: Azure/AppConfiguration<mailto:AppConfiguration@noreply.github.com>
Cc: Callon Campbell<mailto:calloncampbell@msn.com>; Mention<mailto:mention@noreply.github.com>
Subject: Re: [Azure/AppConfiguration] Unable to use App Configuration from DevOps build pipeline (#202)
Hello @calloncampbell<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcalloncampbell&data=02%7C01%7C%7C1c12dfe0914946ab352f08d7746b8f56%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637105877616894633&sdata=fxOrSF4K7CqSiIIr8Zqjto1PcAHUamlZifpyS%2FK%2Fyw4%3D&reserved=0> ,
I'm sorry for the inconvenience. Currently I'm not able to reproduce this issue under our testing build pipeline. Could you provide more information about this?
One thing could give us more details is that if you open Developer Tools (for Edge/Chrome) or Web Developer (for Firefox) and monitor the network request. When clicking the refresh button for App Configuration name, you could see a request with a similar endpoint to this https://dev.azure.com/AppConfig-Test/518f0f28-9bcd-449a-93f3-d9d363967fa6/_apis/serviceendpoint/endpointproxy?endpointId=1157659f-b6f8-46c0-b1e9-3252693c49c8. And under this response, it gives all the App Configuration names under the subscription you selected.
Another thing you could confirm is that the service connection in the build pipeline needs to be authorized for the subscription. For example, I have my selected service connection as a contributor role for the whole subscription.
Please let me know if you find more details.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FAppConfiguration%2Fissues%2F202%3Femail_source%3Dnotifications%26email_token%3DAA7HY2DRKOEJB6EHWOPG2QTQWBV7BA5CNFSM4JSWBWM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFNUTTY%23issuecomment-559630799&data=02%7C01%7C%7C1c12dfe0914946ab352f08d7746b8f56%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637105877616894633&sdata=xCFo8gkruLFLT5SiDOXl5%2B1tGhBc%2B%2Fm9FTkx4KOwrws%3D&reserved=0>, or unsubscribe<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA7HY2EED26PYORAY5SDLATQWBV7BANCNFSM4JSWBWMQ&data=02%7C01%7C%7C1c12dfe0914946ab352f08d7746b8f56%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637105877616904642&sdata=XMuZ%2BzkVKEVU%2BL4QVTbBqVO0B9H6BSRq1qld536MCpE%3D&reserved=0>.
|
Hello @calloncampbell , What you replied helped us to locate the bug in |
Hello @calloncampbell , The fix has just released. Could you please try it in your end? Thanks. |
Hi @Yiming-Jia and thanks for the fix. Yes I can confirm that it works now. I appreciate the quick turnaround. |
After installing https://marketplace.visualstudio.com/items?itemName=AzureAppConfiguration.azure-app-configuration-task&ssr=false#overview I tried to incorporate Azure App Configuration into my DevOps build pipeline.
Expected behavior:
Actual behaviour:
The text was updated successfully, but these errors were encountered: