I created an application in azure active directory like below
I am trying to add a Storage Blob Data Contributor role assignment for azure active directory service principal to operate on the storage account level through PowerShell
whenever i try to run the below command
New-AzRoleAssignment -Serviceprincipal <Serviceprincipal name> -RoleDefinitionName "Storage Blob Data Contributor" -Scope "/subscriptions/<subscriptionsID>/resourceGroups/<resourcegrp name>/providers/Microsoft.Storage/storageAccounts/<storageacc name>"
I am getting the error as below.please help me with the solution
New-AzRoleAssignment: Operation returned an invalid status code 'NotFound'