-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Running Get-AzureSBNamespace in the context of Principal Authentication #3391
Comments
Update - I've managed to get in via the following APIs https://docs.microsoft.com/en-us/rest/api/servicebus/ Getting an Access token to management.azure.com using the principals key and ID. Still got problems on the hosted agents, but progress at least! |
@RDalziel , We cannot run Get-AzureSBNamespace within RM Context, it required Azure Classic Connection. |
@RDalziel , Is the issue resolved ? |
Apologies, was on holiday! I managed to figure it out with the API, however since then i've moved onto using the new(ish) RM Powershell command as it cuts my code a considerable amount! "Get-AzureRmServiceBusNamespaceKey" |
…rm (#3391) (#16743) * Implement fallback on UseNode and NodeTools tasks to work with os-x arm (#3391) -- implemented fallback in UseNode task to download x64 version is arm not available -- implemented fallback in NodeTools task to download x64 version is arm not available -- Fixed tests and version checks, because of bug when you set 10.x version it might install 15.10.0 instead of 10.x.x * Implement fallback on UseNode and NodeTools tasks to work with os-x arm (#3391) -- added localization * Implement fallback on UseNode and NodeTools tasks to work with os-x arm (#3391) -- Fixed localization * Implement fallback on UseNode and NodeTools tasks to work with os-x arm (#3391) -- Set resource path for localization files Co-authored-by: Dmitry Bobreshev <bobresh95@gmail.com> Co-authored-by: Kirill Ivlev <102740624+kirill-ivlev@users.noreply.github.com> Co-authored-by: AndreyIvanov42 <93121155+AndreyIvanov42@users.noreply.github.com> Co-authored-by: Maxim Zaytsev <v-mazayt@microsoft.com>
Hey Folks, wondering if anyone can shed some light here. I'm looking to remove any usage of credentials on our release templates and trying to figure out how to run Get-AzureSBNamespace within a RM Context.
Locally, running "Login-AzureRMAccount" and hitting Get-AzureSBNamespace everything returns fine. However on the build server (using the same Initialize-Azure functions as the AzurePowershell tasks) i'm getting issues trying to hit this command.
On the hosted agents - get
"No default subscription has been designated. Use Select-AzureSubscription -Default to set the default subscription."
Anyone have any pointers here?
The text was updated successfully, but these errors were encountered: