On Azure Data Factory I'm trying to create a linked Azure ML Service to be able to invoke a published model in ADF.
It gives me the following error :
Request sent to Azure ML Service for operation 'validateWorkspace' failed with http status code 'Forbidden'. Error message from Azure ML Service: '{"error":{"code":"AuthorizationFailed","message":"The client XXX with object id XXX does not have authorization to perform action 'Microsoft.MachineLearningServices/workspaces/read' over scope '../Microsoft.MachineLearningServices/workspaces/myworkspace' or the scope is invalid. If access was recently granted, please refresh your credentials."}}'.
When I check on Azure ML Service workspace name Acces Control IAM , the related ADF has data factory contributor role on This Resource scope.
When I check on ADF Acces Control IAM , the related Azure ML Workspace has contributor role on This Resource scope.
Thank you.