Bramha Naskari - Thanks for the question and using MS Q&A platform.
It seems like the error message is indicating that the identity used to run the job lacks the required permissions to access the notebook. You may want to check if the user account you are using has the necessary permissions to access the notebook.
You can try the following steps to troubleshoot the issue:
Check if the notebook exists in the specified location "/PySpark_Scripts/xyz.py". If it does not exist, you may want to create the notebook or update the path to the correct location.
Check if the user account you are using has the necessary permissions to access the notebook. You can verify this by checking the access control list (ACL) for the notebook. Make sure that the user account has the "Read" permission for the notebook.
If you are using an existing cluster, make sure that the cluster has the necessary libraries installed to run the notebook. You can check the cluster configuration to verify if the required libraries are installed.
If you are still facing issues, please confirm if you have configured with any source controller like Github/Devops and share more details about the job configuration for futher investigation.
I hope this helps you resolve the issue. Let me know if you have any further questions.