Hi @Sandi Leonties Thanks for sharing the update.
Based on our discussion in the comments above, I am sharing the summary here for others to reference.
First recommendation is to have the file centrally located on a shared folder (like azure files).
https://learn.microsoft.com/en-us/training/modules/implement-manage-storage-azure-virtual-desktop/
If that is not an option, for example in your specific scenario, internal team recommendation is :
If this import should happen for all users, it might be more convenient to use a scheduled task to run the script once per user after logon and store the script on a central file share. This makes it easier to maintain in case there are changes.
Let me know if you have any questions in the comments.
Please 'Accept as answer' if it helped, so that it can improve discoverability for others looking for help on the same topic.