I run into problem solving Level 1 Azure Kodekloud Engineer question

It’s giving me error:
(AuthorizationFailed) The client ‘kk_lab_user_main-581a62e4f2d54bcd@azurekmlprodkodekloud.onmicrosoft.com’ with object id ‘bf394ebd-859d-447a-9132-ff16e1459a74’ does not have authorization to perform action ‘Microsoft.Resources/subscriptions/resourcegroups/write’ over scope ‘/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourcegroups/myResourceGroup’ or the scope is invalid. If access was recently granted, please refresh your credentials.
Code: AuthorizationFailed
Message: The client ‘kk_lab_user_main-581a62e4f2d54bcd@azurekmlprodkodekloud.onmicrosoft.com’ with object id ‘bf394ebd-859d-447a-9132-ff16e1459a74’ does not have authorization to perform action ‘Microsoft.Resources/subscriptions/resourcegroups/write’ over scope ‘/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourcegroups/myResourceGroup’ or the scope is invalid. If access was recently granted, please refresh your credentials.

I also tried:
ssh-keygen -t rsa -b 2048 -f ~/datacenter-kp

But Kodekloud said the key does not exist.

i solved the issue creating the ssh key in Azure Console.