Open oWretch opened 4 years ago
With further testing today, I think the error lies within New-AzStorageBlobSASToken
. If I manually create a SAS URL from the Azure Portal the cmdlet works correctly.
If I create the SASToken using the -StorageAccountKey
parameter it works, but if I use -UseConnectedAccount
the resultant SAS token doesn't seem to have permissions to the blob.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @vpngwsuppgithub.
Network team, please help to look into this question.
Hello @oWretch Apologies for the delayed response. I see that this issue is opened a long time ago and no further activity had taken place. So wanted to check if you are still looking for assistance on this query? Please let us know.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @vpngwsuppgithub.
Author: | oWretch |
---|---|
Assignees: | - |
Labels: | `Service Attention`, `question`, `customer-reported`, `needs-author-feedback`, `Network - VPN Gateway`, `needs-team-triage` |
Milestone: | - |
Hey, Your sas urlshould be the sas of that exact file, not container or the storage
@SatishBoddu-MSFT While I no longer have a need to resolve this issue (we were testing the P2S gateway feature and have now decommissioned it) my original comment still stands. I ran the commands as provided in the documentation (plus adding the required commands to get the storage context) and it failed.
@jiaczh I am requesting a SAS URL for a specific file - note the -Blob emptyfile.txt
parameter in New-AzStorageBlobSASToken
Description
When running the
Get-AzP2sVpnGatewayDetailedConnectionHealth
cmdlet to retrieve the detailed connection settings as per the documentation, the cmdlet fails withGet-AzP2sVpnGatewayDetailedConnectionHealth: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
Steps to reproduce
Environment data
Module versions
Debug output
Error output