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

Corrections to Security Configuration for Service Accounts #3214

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

waynevelliott
Copy link

  1. Deleted "Local administrator group membership on the computer where the Application Service is running." for the Application Service service account. This user (or any IIS App Pool account) must NOT be added to the local administrators group. It has never been required for CRM/Dynamics/Power Apps in a proper least privilege configuration.

  2. Updated references to SeServiceLogonRight and SeBatchLogonRight to use the correct label and constant. https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/log-on-as-a-service https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/log-on-as-a-batch-job

  3. Performance Log Users membership is required for the Application Service and Deployment Web Service accounts only. Removed from Asynchronous Processing Service. Added to Deployment Web Service.

  4. Asynchronous Processing Service also requires SeBatchLogonRight.

  5. Deployment Web Service also requires SeBatchLogonRight.

  6. Updated two references to the CRM_WPG local group to state that "The CRM_WPG group is granted Log on as a service (SeServiceLogonRight) and Log on as a batch job (SeBatchLogonRight) permissions in the Local Security Policy" since client group policy configurations may undo this.

1. Deleted "Local administrator group membership on the computer where the Application Service is running." for the Application Service service account. This user (or any IIS App Pool account) must NOT be added to the local administrators group. It has never been required for CRM/Dynamics/Power Apps in a proper least privilege configuration.

2. Updated references to SeServiceLogonRight and SeBatchLogonRight to use the correct label and constant.
https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/log-on-as-a-service
https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/log-on-as-a-batch-job

3. Performance Log Users membership is required for the Application Service and Deployment Web Service accounts only. Removed from Asynchronous Processing Service. Added to Deployment Web Service.

4. Asynchronous Processing Service also requires SeBatchLogonRight.

5. Deployment Web Service also requires SeBatchLogonRight.

6. Updated two references to the CRM_WPG local group to state that "The CRM_WPG group is granted Log on as a service (SeServiceLogonRight) and Log on as a batch job (SeBatchLogonRight) permissions in the Local Security Policy" since client group policy configurations may undo this.
@waynevelliott
Copy link
Author

Happy to jump on a call and review the recommended updates with @Mattp123 if it would help.

@MicrosoftDocs MicrosoftDocs locked as resolved and limited conversation to collaborators Apr 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants