{"id":6183,"date":"2022-09-19T02:56:45","date_gmt":"2022-09-19T02:56:45","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=6183"},"modified":"2022-09-19T02:56:45","modified_gmt":"2022-09-19T02:56:45","slug":"exchange-setup-a-required-audit-event-could-not-be-generated-for-the-operation","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/random\/exchange-setup-a-required-audit-event-could-not-be-generated-for-the-operation","title":{"rendered":"Exchange Setup &#8211; A required audit event could not be generated for the operation"},"content":{"rendered":"<p>When running through an exchange server upgrade\u00a0 . the \/preparead step fails with :<\/p><p>&nbsp;<\/p><blockquote><p style=\"padding-left: 40px;\">The following error was generated when &#8220;$error.Clear();<br \/>if ($RoleDatacenterFfoEnvironment -eq &#8220;True&#8221;)<br \/>{<br \/>Install-CannedRbacRoles -InvocationMode $RoleInstallationMode -DomainController<br \/>$RoleDomainController -IsFfo<br \/>}<br \/>else<br \/>{<br \/>Install-CannedRbacRoles -InvocationMode $RoleInstallationMode -DomainController $RoleDomainController<br \/>}<br \/>&#8221; was run:<br \/>&#8220;Microsoft.Exchange.Data.Directory.ADPossibleOperationException: Active Directory operation failed on xxxxxxx. This error could have been caused by user input or by the Active Directory<br \/>server being unavailable. Please retry at a later time. Additional information: Additional information: A required audit event could not be generated for the operation.<br \/>Active directory<br \/>response: 000021B1: SvcErr: DSID-0315154A, problem 5005 (UNABLE_TO_PROCEED), data 0<br \/>. &#8212;&gt; System.DirectoryServices.Protocols.DirectoryOperationException: An operation error occurred.<br \/>at<br \/>System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32 messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOut, Boolean exceptionOnTimeOut)<br \/>at<br \/>System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryRequest request, TimeSpan requestTimeout)<br \/>at Microsoft.Exchange.Data.Directory.GuardedDirectoryExecution.Execute[T](String<br \/>bucketName, Func`1 action, Int64&amp; concurrency)<br \/>at Microsoft.Exchange.Data.Directory.PooledLdapConnection.GuardedSendRequest(String forestName, GuardedDirectoryExecution<br \/>guardedDirectoryExecution, DirectoryRequest request, TimeSpan timeout, Func`3 sendRequestDelegate, Int64&amp; concurrency)<br \/>at<br \/>Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(DirectoryRequest request, LdapOperation ldapOperation, Nullable`1 clientSideSearchTimeout, IADLogContext logContext, Boolean<br \/>shouldLogLastFilter)<br \/>at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean<br \/>emptyObjectSessionOnException, Boolean isSync)<br \/>&#8212; End of inner exception stack trace &#8212;<br \/>at Microsoft.Exchange.Data.Directory.ADDataSession.AnalyzeDirectoryError(PooledLdapConnection<br \/>connection, DirectoryRequest request, DirectoryException de, Int32 totalRetries, Int32 retriesOnServer, String callerFilePath, Int32 callerFileLine, String memberName)<br \/>at<br \/>Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyObjectSessionOnException, Boolean isSync)<\/p><p style=\"padding-left: 40px;\">at Microsoft.Exchange.Data.Directory.ADDataSession.Save(ADObject instanceToSave, IEnumerable`1 properties, Boolean bypassValidation)<br \/>at<br \/>Microsoft.Exchange.Data.Directory.SystemConfiguration.ADConfigurationSession.Save(ADConfigurationObject instanceToSave, String callerFilePath, Int32 callerFileLine, String memberName)<br \/>at<br \/>Microsoft.Exchange.Management.Tasks.RoleUpgrader.SaveRoleAndSuggestCleanupOnFailure(ExchangeRole role)<br \/>at Microsoft.Exchange.Management.Tasks.RoleUpgrader.UpdateCannedRole(ExchangeRole<br \/>existingRole, ExchangeRole cannedRole, RoleDefinition roleDefinition)<br \/>at Microsoft.Exchange.Management.Tasks.RoleUpgrader.CreateOrUpdateRole(RoleNameMapping mapping, RoleDefinition definition,<br \/>List`1 enabledPermissionFeatures, String suffix, String mailboxPlanIndex)<br \/>at Microsoft.Exchange.Management.Tasks.DeprecatedRoleUpgrader.CreateOrUpdateRoles(RoleNameMapping mapping, List`1<br \/>roleDefinitions, List`1 enabledPermissionFeatures, String suffix, String mailboxPlanIndex)<br \/>at Microsoft.Exchange.Management.Tasks.DeprecatedRoleUpgrader.UpdateRoles(List`1 rolesDefinitions)<\/p><p style=\"padding-left: 40px;\">at Microsoft.Exchange.Management.Tasks.InstallCannedRbacRoles.UpdateRolesInOrg(RoleNameMappingCollection mapping, RoleDefinition[] roleDefinitions, ServicePlan servicePlan)<br \/>at<br \/>Microsoft.Exchange.Management.Tasks.InstallCannedRbacRoles.InternalProcessRecord()<br \/>at Microsoft.Exchange.Configuration.Tasks.Task.&lt;ProcessRecord&gt;b__91_1()<br \/>at<br \/>Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)&#8221;.<\/p><p style=\"padding-left: 40px;\"><br \/>The Exchange Server setup operation didn&#8217;t complete. More details can be found in ExchangeSetup.log located in the &lt;SystemDrive&gt;:\\ExchangeSetupLogs folder.<\/p><\/blockquote><p>&nbsp;<\/p><p>&nbsp;<\/p><p>On the domain controller in question<\/p><p>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\NTDS\\Parameters<\/p><p>Create a Dword 32 <strong>Maximum Audit Queue Size<\/strong><\/p><p>Setting this to Decimal 200000 and restarting the <strong>Active Directory Domain Services<\/strong> Service fixed the issue\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>When running through an exchange server upgrade\u00a0 . the \/preparead step fails with :&nbsp;The following error was generated when &#8220;$error.Clear();if ($RoleDatacenterFfoEnvironment -eq &#8220;True&#8221;){Install-CannedRbacRoles -InvocationMode $RoleInstallationMode -DomainController$RoleDomainController -IsFfo}else{Install-CannedRbacRoles [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[3995,618,3994,3996],"class_list":["post-6183","post","type-post","status-publish","format-standard","hentry","category-random","tag-a-required-audit-event-could-not-be-generated-for-the-operation","tag-exchange","tag-maximum-audit-queue-size","tag-preparead"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=6183"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6183\/revisions"}],"predecessor-version":[{"id":6184,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/6183\/revisions\/6184"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=6183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=6183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=6183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}