Hi Weihang Yuan
Hope you are doing well.
I'm glad to hear that your issue has been resolved. And thanks for sharing the information, which might be beneficial to other community members reading this thread as solution. Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", so I'll convert the previous response to an answer in case you'd like to accept the answer. This will help other users who may have a similar query find the solution more easily. If you have any further questions or concerns, please don't hesitate to ask. We're always here to help.
Issue:
Error Code: ScriptExecution.StreamAccess.Authentication
Answer:
Luckily, I found in the doc of the amulet that I can create a managed (“user-assigned”) identity and assign it to my compute cluster. This worked and the job is successfully running now. Additionally, the managed identity needs Storage Blob Data Contributor role on the storage accounts and AcrPull role for the container registries you intend to use.
If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.
Hope this helps. Do let us know if you have any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful.