Help needed in Lab Excercise AZ-104 Implement and manage storage in Azure from unit 4-Control access to Azure Storage with shared access signatures

Rajkumar Balasakuri 40 Reputation points
2024-04-23T17:52:34.5166667+00:00

Excercise URL - https://learn.microsoft.com/en-us/training/modules/control-access-to-azure-storage-with-sas/4-exercise-use-shared-access-signatures

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

After executing the above step 10 has given me below results which seems not to be proper URL

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

when browsed the URL https://ux.console.azure.com//proxy/8000is giving me below error

Cannot GET /proxy/8000/

the encountering of the above error is resulting into unable to execute/proceed remaining part of the lab.

Any help would be greatly appreciated.

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,015 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 78,506 Reputation points
    2024-04-23T18:59:43.2733333+00:00

    Hi Rajkumar,

    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.

    Thanks.

    -TP


1 additional answer

Sort by: Most helpful
  1. Abdul 1,715 Reputation points Microsoft Vendor
    2024-04-24T07:18:14.64+00:00

    Hi Rajkumar Balasakuri,

    Thank you for posting your query on the Microsoft Q&A forum. We see that you are facing an issue during your training on Microsoft Learn path as mentioned below:

    Section:  AZ-104: Implement and manage storage in Azure 

    Module: Control access to Azure Storage with shared access signatures

    Unit 4: Exercise - Use shared access signatures to delegate access to Azure Storage

    We have successfully created the SAS lab using the code editor for the storage account, following the instructions in the documentation. Please proceed with the steps and execute the commands as outlined.

    • Activate the sandbox first, then proceed by following the steps detailed in the documentation.
    • Upon completing Step-4 of "Create a storage account and upload images," execute the command in Step-1 to access the code editor in the cloud shell window.
    • Follow instructions from Step-2 to Step-7, ensuring you replace the parameters for "Connection String value, Account name=, Account key=" in the code editor. Close the code editor by selecting Ctrl+S, then Ctrl+Q.
    • Once parameters are replaced in the code editor, it should resemble the provided output. A screenshot is shared for your reference.

    Screenshot 2024-04-24 115212

    I have successfully executed Step-10 and obtained the output. A screenshot is provided below for your reference.

    sas

    If you encounter any future issues, please feel free to contact us, and we will be pleased to assist you further.

    If you have found the answer provided to be helpful, please click on the "Accept Answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.

    Thank you.