microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.49k stars 2.61k forks source link

[BUG]: Unable to copy files to Azure with an Azure Service Connection bound to Management Group #19115

Open mgrosperrin opened 11 months ago

mgrosperrin commented 11 months ago

Task name

AzureFileCopy

Task version

1

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

N/A

Task log

No logs yet.
I have an error when I trying to configure the task in the UI:
Failed to query service connection API: 'https://management.azure.com/subscriptions/providers/Microsoft.Storage/storageAccounts?api-version=2015-06-15'. Status Code: 'BadRequest', Response from server: '{"error":{"code":"InvalidSubscriptionId","message":"The provided subscription identifier 'providers' is malformed or invalid."}}'

Relevant log output

Failed to query service connection API: 'https://management.azure.com/subscriptions/providers/Microsoft.Storage/storageAccounts?api-version=2015-06-15'. Status Code: 'BadRequest', Response from server: '{"error":{"code":"InvalidSubscriptionId","message":"The provided subscription identifier 'providers' is malformed or invalid."}}'

Aditional info

Similar to #19112, this task does not offer an optional subscription Id for Azure service Connection bound to a Management Group.
mgrosperrin commented 11 months ago

Similar to #19112

mgrosperrin commented 10 months ago

Hi, Any news on this?

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

mgrosperrin commented 4 months ago

Hi, I know there is no activity for a long time on this bug, but it is not a reason to close: it should be a reason to work on it...