markdomansky / WebJEA

WebJEA - Secure Self Service Web Forms from PowerShell Scripts
GNU General Public License v3.0
237 stars 28 forks source link

Is it possible use gMSA with Exchange on-premise? #39

Closed ommnni closed 3 years ago

ommnni commented 3 years ago

First of all, I want to say thank you, that's a great job.

But I have one issue with gMSA. Does it work with an on-premise exchange? Is it possible to add gMSA account in exchange on-premise roles?

markdomansky commented 3 years ago

So the gMSA is used to run the powershell instance. I've never tried to access Exchange PowerShell using a gMSA. I know you can do integrated auth with Exchange. If you can add the gMSA to the relevant security group (e.g. Exchange User Admins), then you should be able to make the exchange connection. Give it a try and let me know.

ommnni commented 3 years ago

If you can add the gMSA to the relevant security group (e.g. Exchange User Admins), then you should be able to make the exchange connection.

No, I can't add the gMSA to any Exchange security group. Instead of the gMSA I've try to use normal winnt account and gave it appropriate rights in Exchange. I've modify DSC config (line 49,50): $pool.processModel.userName = 'domain\WebJEAAccount' $pool.processModel.password = 'password' Is it correct?

markdomansky commented 3 years ago

This should be correct.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.