Closed Panzerbjrn closed 4 years ago
@Panzerbjrn , according to the response from server, the provision of storage account was not finished yet. Did you try it after a while? Could you share the debug message further?
Thanks @dingmeng-xue , as I wrote, although it was mangled a bit by formatting:
Running Get-AzStorageAccount
and looking in the portal, I can see that provisioning has succeeded, and I have a bunch of blobs and tables in there anyway, so I know that it works.
The Storage account I tried first had been in use for a few months, and I also created a brand new one, added some tables and blobs, and then got the same error when trying Set-AzDiagnosticSetting.
The debug message is the full message that appears in my console.
Hi @Panzerbjrn ,
I tried with storage account I created, had no problem with the diagnostic setting.
Is it possible the storage account you are using is different from mine?
@Panzerbjrn , could you provide details information how you created storage account? We will try to reproduce it and identify which service has the problem, either storage account API doesn't return correct status or diagnostic setting needs provide clear information.
@Panzerbjrn , could you respond to @VeryEearly 's question?
@Panzerbjrn , we cannot reproduce this issue. I believe it is related to this storage account. I'm closing this issue now. If you have further information, please let us know.
Description
I'm trying to set up some diagnostic logging for a Power BI Embedded capacity via this PowerShell command, but it isn't working.
The command I'm running is: `Set-AzDiagnosticSetting -ResourceId "/subscriptions/1fa2b345-67c2-890d-1ef2-aded8b8bc224/resourceGroups/LPTestRG/providers/Microsoft.PowerBIDedicated/capacities/pbiewi38848" -StorageAccountId "/subscriptions/1fa2b345-67c2-890d-1ef2-aded8b8bc224/resourceGroups/LPTestRG/providers/Microsoft.Storage/storageAccounts/lptestsa"
I then get the error:
Environment data
Module versions
Debug output
Error output