diff --git a/server/service/appconfig.go b/server/service/appconfig.go index fb5fca4102..5cb45b838c 100644 --- a/server/service/appconfig.go +++ b/server/service/appconfig.go @@ -556,8 +556,11 @@ func (svc *Service) ModifyAppConfig(ctx context.Context, p []byte, applyOpts fle // activity if oldAppConfig.MDM.MacOSUpdates.MinimumVersion.Value != appConfig.MDM.MacOSUpdates.MinimumVersion.Value || oldAppConfig.MDM.MacOSUpdates.Deadline.Value != appConfig.MDM.MacOSUpdates.Deadline.Value { - if err := svc.EnterpriseOverrides.MDMAppleEditedMacOSUpdates(ctx, nil, appConfig.MDM.MacOSUpdates); err != nil { - return nil, ctxerr.Wrap(ctx, err, "update DDM profile after macOS updates change") + if license.IsPremium() { + // macOS updates are premium feature + if err := svc.EnterpriseOverrides.MDMAppleEditedMacOSUpdates(ctx, nil, appConfig.MDM.MacOSUpdates); err != nil { + return nil, ctxerr.Wrap(ctx, err, "update DDM profile after macOS updates change") + } } if err := svc.ds.NewActivity(