Connection of StorageExplorer to AzureStack still not working

跟風遠走 提交于 2019-12-24 23:07:45

问题


I am now using the current Azure Dev Pack (18.03). When following the tutorial for connection there is now the following error when trying to connect:

The problem is, that the tutorial is only mentioning the following dialog for connecting a storage: where the ARM endpoint has to be set to "https://adminmanagement.local.azurestack.external".

But after this dialog another dialog is shown which is not mentioned in the documenation at all: Here it is not clear what is meant by the "Sign in ressource id" or the "ARM resource id".

I found something, which might be at least the "ARM resource id":

So finally: What to insert for "Sign in resource id" and "ARM resource id"?

EDIT: So after the answers below I requested these IDs manually:

But I still don't know exactly how to insert it. Doing it the following way: still ends up in another error message:

EDIT 2: So what I corrected was, that I again checked to use a base64 encoded Certificate. Further it appeared to be an issue that in above screenshot I had ARM Endpoint for "adminmanagement..." and the resource ids I requested were for "management...". So I altered the Rest call for the ID to (Invoke-RestMethod -Uri https://adminmanagement.local.azurestack.external/metadata/endpoints?api-version=1.0).authentication.audiences[0]. IT appears to be an improvement, because it ends up in a brand new error message: Additional hint: If I now use a nonesense login not available at the stack, I get the Unable to sign in: access_denied: AADSTS65005: Invalid resource error message in the popup at the top border of the Azure explorer.


回答1:


From an internal program manager, This seems to be caused by some known regression issue in Storage Explorer 0.9.6 version that Sign in resource id and ARM resource id aren’t fetched properly during sign-in.

As a workaround, user can execute the sample cmdlet for ASDK below and then input the returned value for these two resource ids.

For multi-node integrated system, the Azure Stack endpoint needs to be changed according to the environment configuration.

PowerShell:

Invoke-RestMethod -Uri (https://management.local.azurestack.external/metadata/endpoints?api-version=1.0 -Method Get).authentication.audiences[0]

There is also a new release of Storage Explorer to fix this bug soon.

Second Fix:

This issue could also happen when the incorrect certificate type is exported. The certificate must be exported in Base-64 x.509 format:




回答2:


Try entering the invoke command like this:

(Invoke-RestMethod -Uri https://Adminmanagement.3171r06a.azcatcpec.com/metadata/endpoints?api-version=1.0).authentication.audiences[0]

or

(Invoke-RestMethod -Uri https://Adminmanagement.3171r06a.azcatcpec.com/metadata/endpoints?api-version=1.0).authentication

Returned results for me. Replace you region and dns with what you have deployed.




回答3:


The problems have been solved together with Azure Storage Explorer v1.0.



来源:https://stackoverflow.com/questions/49857286/connection-of-storageexplorer-to-azurestack-still-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!