The Lab 5 and Lab 6 folder can't be downloaded.

David Huang 0 Reputation points
2024-06-26T02:02:35.4866667+00:00

I have below message when I download the folder of the labs:

D:>git clone https://github.com/Microsoftlearning/DP500-Azure-Data-analyst DP500

Cloning into 'DP500'...

Username for 'https://github.com': Student

Password for 'https://Student@github.com':

remote: Support for password authentication was removed on August 13, 2021.

remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.

fatal: Authentication failed for 'https://github.com/Microsoftlearning/DP500-Azure-Data-analyst/'

How to get the folder?

Thanks.

Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
217 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep M 1,715 Reputation points Microsoft Vendor
    2024-06-26T06:11:34.31+00:00

    Hi David Huang,

    Thank you for reaching out to Microsoft Q & A forum.   

    It appears there are two issues preventing you from downloading the folder of labs: the repository name and the authentication method. Here’s how to resolve both: 

    Correcting the Repository Name: 

    First, ensure that the repository name is correct. The correct name is DP500-Azure-Data-Analyst (with a capital "A" in "Analyst"). 

    Updating the Authentication Method: 

    GitHub no longer supports password authentication for Git operations. Instead, you need to use a Personal Access Token (PAT). Here are the steps to do that: 

    1.Generate a Personal Access Token (PAT): 

    Visit GitHub's PAT settings page

    Click on "Generate new token". 

    Provide a descriptive name for your token, select the repo scope, and generate the token. 

    Copy the token and store it securely, as you will not be able to see it again. 

    2.Clone the Repository Using the PAT: 

    open your terminal or command prompt. 

    Use the following command to clone the repository, replacing YOUR_PERSONAL_ACCESS_TOKEN with the token you generated: 

    git clone https://YOUR_PERSONAL_ACCESS_TOKEN@github.com/MicrosoftLearning/DP500-Azure-Data-Analyst DP500
    
    

    Alternative: Using SSH 

    If you prefer using SSH, you can set up an SSH key by following these steps: 

    Follow GitHub's guide to generate a new SSH key

    Add the SSH key to your GitHub account. 

    Use the following command to clone the repository: 

    git clone git@github.com:MicrosoftLearning/DP500-Azure-Data-Analyst.git DP500
    
    

    By following these instructions, you should be able to clone the repository successfully. 

    Note: Please remember to avoid sharing your personal information, such as passwords, on public platforms. 

    Please feel free to contact us if you have any additional questions.  

    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.    

    0 comments No comments