Hi Abiona,
Thank you for reaching out to us on Microsoft Q&A forum.
The error you're encountering suggests that your account does not have the necessary permissions to create an AKS cluster within the Learn sandbox subscription due to organizational policies.
Here are a few steps you can take to troubleshoot and resolve this issue:
1.Confirm that you're using the correct Azure subscription.
2. Verify that you have the required permissions, usually "Owner" or "Contributor," to create resources.
3.To refresh your credentials, log out of the Azure portal and then log back in.
4.If you're using an organizational account, there might be policies in place that limit your ability to create resources. Reach out to your Azure administrator to learn about any restrictions that could be affecting your subscription.
5.If the sandbox environment proves to be too restrictive, consider using an alternative Azure subscription. You can sign up for a free Azure account by visiting the https://azure.microsoft.com/en-us/free/.
6.Please reach out to your Azure administrator to request the appropriate role assignments needed to perform actions such as 'Microsoft.PolicyInsights/register/action'.
If you're still encountering the issue, try checking this link, it might help resolve the problem:
Troubleshoot the Linked Authorization Failed error code: https://learn.microsoft.com/en-us/troubleshoot/azure/azure-kubernetes/create-upgrade-delete/error-code-linkedauthorizationfailed#symptoms
If you are still facing issues, I recommend reviewing similar threads for potential solutions as they might be helpful:
1.https://learn.microsoft.com/en-us/answers/questions/1528579/failed-to-register-the-assignments-scopes-to-micro
2.https://learn.microsoft.com/en-us/answers/questions/1281628/how-to-fix-authorization-error-for-aks
If you continue to face issues, please let us know in the comments. We are here to help.
If you find this information helpful, please acknowledge by clicking the "Accept answer" & "Upvote" buttons on the post.