Hello @gousiatinku ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
If this is in the context of Azure DevTest Labs, here is the document that has a step by step walk through on How to add an artifact repository to a lab
For troubleshooting guidance, you can refer to the follow doc https://learn.microsoft.com/en-us/azure/devtest-labs/devtest-lab-troubleshoot-apply-artifacts#investigate-the-private-artifact-repository-and-lab-storage-account
--please don't forget to upvote and accept as answer if the reply is helpful--