Hello,
I get the following message when update organization after upgrade to CRM 2016:
Error occured: Unhandled Exception: Microsoft.Crm.CrmException: The System Administrator Role cannot be modified.
at Microsoft.Crm.ObjectModel.RoleServiceInternal`1.AddPrivilegesInternal(Guid roleId, RolePrivilege[] privileges, Boolean replace, Boolean import, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RoleServiceInternal`1.AddPrivileges(Guid roleId, RolePrivilege[] privileges, ExecutionContext context)
at Microsoft.Crm.SE.DllMethodActions.UpdateCustomControlPrivilegesForExistingRoles.Execute()
14:44:12| Error| Applying database updates to organization with name = Integration Id=20b742f4-97cd-e811-8128-005056810825 failed with Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Crm.CrmException: The System Administrator Role cannot be modified.
at Microsoft.Crm.ObjectModel.RoleServiceInternal`1.AddPrivilegesInternal(Guid roleId, RolePrivilege[] privileges, Boolean replace, Boolean import, ExecutionContext context)
at Microsoft.Crm.ObjectModel.RoleServiceInternal`1.AddPrivileges(Guid roleId, RolePrivilege[] privileges, ExecutionContext context)
at Microsoft.Crm.SE.DllMethodActions.UpdateCustomControlPrivilegesForExistingRoles.Execute()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at Microsoft.Crm.Setup.Database.DllMethodAction.Execute(Guid organizationId, Nullable`1 operationType)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.ExecuteReleases(ReleaseInfo releaseInfo, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.Install(Int32 languageCode, String configurationFilePath, Boolean upgradeDatabase, Boolean isInstall)
at Microsoft.Crm.Setup.Database.DatabaseInstaller.InstallUpdate(String configurationFilePath, Boolean upgradeDatabase)
at Microsoft.Crm.Setup.Common.Update.DBUpdateDatabaseInstaller.ApplyDBUpdates(Guid orgId, Nullable`1 operationType)
at Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction.ApplyDBUpdatesInternal(Guid orgId, String orgUniqueName, String releaseFilePath, Boolean ignoreErrors, OrganizationOperationType operationType)
14:44:12| Info| Performing GrantServiceAccountAccess on SqlServerName DEV-SQL-CRM#^%\SQL_CRM where SqlServerMachineName=DEV-SQL-CRM365, reportServerUrl=dev-sql-crm365/ReportServer
Does anyone know how to fix this?
Thanks.
*This post is locked for comments