Hi @Ashwini Gaikwad
Welcome to Microsoft Q&A platform and thanks for posting your query here.
Based on our internal review, here are some suggestions to help resolve the issue:
- Log Examination: Please check the logs of the Job Shared cluster to identify any specific error messages related to the init script execution. This could offer more insights into the root cause of the issue.
- Allowlist Configuration for Shared Access Mode: For clusters operating in shared access mode, it is essential to ensure that init scripts are added to the allowlist. Without this, the scripts may not execute correctly. For guidance on how to configure the allowlist for libraries and init scripts on shared compute clusters, you can refer to this documentation.
You can do something like below:
I hope this information helps. If you have any further questions, please let me know.