Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run report creation with a Service Account #41

Open
lzampieri88 opened this issue Feb 14, 2022 · 4 comments
Open

Run report creation with a Service Account #41

lzampieri88 opened this issue Feb 14, 2022 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lzampieri88
Copy link

I like to run the reporst generation using a service account (gMSA).
Can this option be considered?
Thanks

@tpcarman
Copy link
Contributor

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?

@lzampieri88
Copy link
Author

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.

@tpcarman
Copy link
Contributor

Perhaps you can try this? https://www.ephingadmin.com/PasswordlessPowerShell/

@lzampieri88
Copy link
Author

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!

@tpcarman tpcarman added enhancement New feature or request help wanted Extra attention is needed labels Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants