Run report creation with a Service Account
I like to run the reporst generation using a service account (gMSA). Can this option be considered? Thanks
I don't understand what you issue is. A report can be created using a stored credential or a username & password. Why won't these options work for a service account?
Thanks for the reply! gMSA accounts do not have a password I can store. The Task Scheduler can run the script as the service account, but then the command needs to run with the user context's credentials, without asking for the creds.
But if there is another option to do this I am not aware of, I'll be happy to use it.
Perhaps you can try this? https://www.ephingadmin.com/PasswordlessPowerShell/
I tried it but got an error. I also not so fond of using a trick whith a user needing enterprise admin rights..
For me the solution would be having an option to work with the user's session credentials, withou having to use the Cred parameter. If this cannot be provided, I accept it of course. We'll need to work with a manual execution.
Thanks!