Check this link and validate the API permissions: https://techlabs.blog/categories/automation/solved-azure-powershell-runbook-error-failed-unauthorized-incorrect-permissions