Exercise - Use shared access signatures to delegate access to Azure Storage

Simon Redford 5 Reputation points
2024-07-04T14:48:31.8366667+00:00

This part of the training module does not appear to work/function as described. This is in unit 4 of the module: "Control access to Azure Storage with shared access signatures"

The command to create the inbound port does not seem to return a valid URL that works:

curl -X POST http://localhost:8888/openPort/8000;

The message I get back is as follows:

{"message":"Port 8000 is open","url":"https://ux.console.azure.com//proxy/8000/"}

This appears to be different to that described in the training and seems to exclude values. In the training it suggests the URL has the following format:

https://gateway11.northeurope.console.azure.com/n/cc-4016c848/cc-4016c848/proxy/8000/

Using the value returned by the curl command during the training returns the following message in the browser:

"The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

I've tried this on a different Azure account with the same results.

Can anyone help here?

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,238 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Simon Redford 5 Reputation points
    2024-07-05T11:20:45.7833333+00:00

    The issue is that everything in the Azure powershell steps work but step 10 does not provide a URL that works. It always gives a value of:

    https://ux.console.azure.com//proxy/8000/

    And then when you access the URL you get the message:

    "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable."

    Microsoft need to fix this, you should not require 3rd party tools to run their training.

    1 person found this answer helpful.

  2. AmaranS 3,455 Reputation points Microsoft Vendor
    2024-07-05T03:03:11.1066667+00:00

    Hi Simon Redford,

    Unfortunately Web Preview for Azure Cloud Shell (this is underlying feature for step #10) is broken. I tested it using method in the exercise as well as using the GUI, using sandbox as well as paid subscription, and it doesn't work in any case. I've tested several times in the past.

    If you would like you could use ngrok (third party tool that does same thing) instead. To sign up for their free level account you only need to give name, email, and then confirm email account by clicking link. To use it instead of Web Preview it takes about 10-30 seconds to install in Cloud Shell and then you would be ready to use it for Step#10 of the exercise.

    I'm putting together steps/screenshots to use ngrok instead of Web Preview as a substitute for step#10 until Web Preview functionality is fixed.

    If you don't want to use third party tool, then I recommend reading over the exercise and making sure you understand what each step is supposed to do for learning purposes. If you have any questions in this regard add a comment below and I would be happy to explain what is going on.

    Please click Accept Answer and upvote if the above was helpful. Please add a comment if anything is unclear.