Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Profile Manager Fails To Deploy

We have had a number of problems using Profile Manager to deploy settings. Wanted to share our workarounds.


If a profile fails to deploy... it appears to erase all of the users profile settings... therefore it's important to test your profile settings first prior to deploying. This appears to be a bug. Logging in and out may refresh the profile... but you must first remove the bad settings.


Be sure to have your firewall ports open for Profile Manager communication: http://support.apple.com/kb/HT5302



Profile Manager May Fail Under the following circumstances:



-- Pushing "Calendar" settings without a user's valid password (even though the field is optional) will cause the profile deployment to fail:


0::Aug 29 16:31:11.766 [40281] <10.0.142.201> Status='Error' CommandUUID=0afef3a0-d457-012f-b3e9-406c8fb90eeb

Array

(

[0] => Array

(

[ErrorCode] => -319

[ErrorDomain] => ConfigProfilePluginDomain

[LocalizedDescription] => The 'Calendars Account' payload could not be installed. The account credentials were invalid.

)

)




-- Polymorphic profile settings. IE it does not appear to support things like "Multiple Group Restrictions" blending together. In other words... having a user part of a "Base Users" group and a "Sales Group" that have different "Restrictions" will most likely fail. The old MCX profiles seemed to support this, but not Profile manager.



-- Mobility syncing does not appear to work unless "Merge with user's settings" is enabled



-- Unconfirmed... if you restrict a users access to "System Preferences -> Profile" ... the profile updates may not occur.

OS X Server

Posted on Aug 30, 2012 2:17 PM

Reply
23 replies

Aug 30, 2012 3:31 PM in response to ionepoch

-- changing a "device" or "device group" setting will most likely knock the client workstation offline causing the profile deployment to fail if a "networking" profile is enabled. this is a side effect of changing the network settings while connected to the network. an additional reboot should be attempted (up to two times) to ensure the profile is properly deployed.

---- this is cumbersome... changing a device setting unrelated to networking will cause the deployment to fail

---- our work around is to create a device group called "networking" that only contains networking related items (and nothing else) to reduce having to change this profile. make the network profile rock solid so you don't have to change it.

---- create another device group called "workstations" (whatever)... and configure the bulk of your settings in the "workstations" group. that way a minor change to the login screen or whatever... won't trigger a network refresh... this will keep the client online to complete the profile deployment.

---- the downside to this work around... all comupters will need to be added to 2 "device groups" ... "networking" ... and your other "workstations/whatever group"

Sep 5, 2012 12:47 AM in response to ionepoch

-- multiple short_name aliases appear to break group profile manager settings (and probably individual user profile settings. when in doubt remove any additional short_name logins assigned to the user. (Server App > Users > Highlight User > Right Click User > Advanced > remove all alias / additional short names


-- Remove the group from the User... save .. then add the group back as a simple test to try and dislodge profiles that won't deploy.


See https://discussions.apple.com/thread/4257714 for all the problems that went into the above two workarounds.

Sep 7, 2012 10:49 PM in response to Mark23

Update:


We have decided against using Profile Manager.


Simply put... it appears unstable... and unpredicatable.


Should you plan to implement OSX (Mountain Lion) Profile Manager in your enterprise, please be advised of the following possible consequences:


-- Group profiles are almost impossible to deploy consistently

-- There is a high probabilty of the "active task" being stuck indefinitely and/or simply failing to deploy altogether

---- Therefore... having a group "sales" or "support" that each have serparate and distinct users... and separate and distinct restrictions, dock settings, mail settings etc... just won't deploy consistently.


-- On the otherhand... Device profiles seemed to deploy with fair ... to good consistency.


-- Be advised that a bunk profile... may actually result in all of your group profile restrictions being removed and/or destroyed. This may pose a security risk depending on your organization.


-- We have found a number of "silent-ish" errors that are undocumented, but destroy the prescribed profile.

---- for example: calendars appear to destroy group profiles. multiple short name aliases. restrictions may allow you to block your own deployment.... etc etc

---- we honestly felt that adding any additional settings was the equivalent of playing undocumented minesweeper... maybe it works... maybe it breaks everything


-- heads up on mail settings... if you mess up the initial setting... and try and remove the profile... it will delete the imap settings... but leave the smtp settings behind.

-- this further complicates trying to correct a typo in a mail profile (because of the reminent smtp setting)

-- In our opinion... typos happen... if you spot the typo and correct it in a profile... it should deploy and fix the typo... not get stuck and break the profile manager.

---- similar experience with messenger


-- we experienced a major silent error with zero documentation and/or error log messages... in fact, profile manager on the server would report that a settings update deployed and succeeded... the client would receive the request to update the setting... it would acknowledge the update in syslog... but it just wouldn't take. this was ultimately what caused our decision to move away from profile manager. we don't know what caused the error... but after hours upon hours (weeks) of downtime trying to fix this... we decided it simply wasn't worth it.


-- For comparison sake... all the mystery errors that we were unable to solve in profile manager... were fixed with MCX profiles set in Workgroup Manager upon first deployment. The MCX profiles pretty much deploy consistently and as expected.


----- MCX glitch and workaround. The only real MCX problem we would find... is on computers that have been renamed. For example... repurposing a salesworkstation1... for salesconferenceroom... would leave behind a Computer MCX profile that may conflict. The solution was to delete it:

-------- dscl . list Computers

-------- # look for any bad computer names

-------- dscl . read Computers/badcomputername (just to check it out)

-------- dscl . delete Computers/badcomputername

-------- mcxrefresh -n username

---------------- if no errors ... you're good

---------------- if errors... repeat deleting more computer names (even the real workstation name)

--------------------- retry mcxrefresh -n username

--------------------- repeat until no errors


Long story short, we feel Profile Manager shows promise for the future... but it's simply not ready now.


We were able to complete massive settings deployments within 2 days of using MCX (that we couldn't achieve struggling for weeks with Profile Manager)


I'm happy to discuss feedback if you are reading this post... and feel like Profile Manager is behaving strange.


If you have successfully deployed settings using Profile Manager and disagree with the contents of this post, I'd be interested to hear about it. It seems as if Apple is moving away from MCX ... ... we would prefer to use "supported" platforms (ie Profile Manager) ... we fear that MCX is in the process of being deprecated... and that we are kicking the can down the road by hanging on to MCX. Unfortunately, the business impact has been brutal... hence the switch to MCX.

Sep 13, 2012 5:54 AM in response to ionepoch

What you are describing about failed or partially completed profiles deployment to clients is very similar to my own experience. I've been trying to use Profile Manager for the last few weeks (during the start of the school year deploying in an active school environment!) and it has been a real pain -- esp. the inconsistency. I did upgrade all of my systems (server and about 60 clients) to Mountain Lion, hoping for fixes to profile manager, but so far the results are not encouraging.


This weekend I'll probably try going back to Workgroup Manager for policy deployment. I imagine that's why Apple left WGM alive in 10.8 --- they know PM is problematic. Which ***** and is a bit despicable if you think about it.


I've long bemoaned how Apple can be a great hardware maker, but a lousy lousy lousy software developer. With more money than god, you'd think someone would take Apple (and let's throw Google in there too) and shake them by the shoulders and say "DUDES! Get your act together on the software!" But instead they use their customers as never-ending beta (and often alpha) testers, jeopardizing the enterprise and education environments that trust them. Sheesh. Needed to vent.


Please post any additional findings you may come across re: profile management. Have you found useful discussions elsewhere? Forget about finding anything official from Apple in the way of help. That's another thing... oh, well, I'll stop here.


🙂


Added note: Before going back to WGM, I'll issue via ARD a Unix command to the clients to delete all profiles. sudo profiles -D from this thread: https://discussions.apple.com/thread/4278772?answerId=19515980022#19515980022

Oct 4, 2012 6:23 AM in response to ionepoch

ionepoch


Thanks for the workaround. I was having this same problem but with the user profiles. My users name was their first and last name and I had applied an alias of just their first name. it worked fine with Lion but always failed with mountain lion. As soon as I removed the alias the user profiles started to work.


Thanks for the help


David Urban

Oct 16, 2012 8:00 AM in response to mille1j

If you allow the user to control some of their own mobility settings (forget where this option is but I believe it is the default to allow users to adjust their sync rules)... then


merge with user's settings will take your rules and the users rules and apply them both.


For example:


Sysadmin says... sync Documents and Desktop, and explicity don't sync Mail and IMAP stuff


User says... sync Photos


The new sync rules will be:
sync Photos, Documents, and Desktop, and explicity don't sync Mail and IMAP stuff

Oct 16, 2012 12:57 PM in response to ionepoch

Still strugging with deploying settings for messages


Payload for the workgroup set to use the %short name isn't working. It works for SOME users, but not all. If a user had anything in their preferences for messages before, could that interfere with the payload? IE, could deleting the user's messages prefs, or somehow refresh it help?


Instead of trying to use the payload variable, would it be better to setup a user payload for messages settings? Will that information load on any computer they log into, regardless of whehter it is set to be their device? IE, if they login to imac5, which is my device, isntead of imac1 which is their device, will that user payload still show up for them?

Oct 16, 2012 1:58 PM in response to mille1j

>>> Payload for the workgroup set to use the %short name isn't working. It works for SOME users, but not all. If a user had anything in their preferences for messages before, could that interfere with the payload? IE, could deleting the user's messages prefs, or somehow refresh it help?


editing the profile payloads for mail ... (i.e. trying to perform a simple edit or change) would produce bizarre results. Some would work, some wouldn't. We experienced similar unpredictable behavior with profile settings for messenger. We were unable to consistently deployes these settings. Wish I had more positive news to report.

>>> Instead of trying to use the payload variable, would it be better to setup a user payload for messages settings?


If you have to create a custom payload per user (for every user) then I would argue it's just as easy to go configure the user's actual computer. IE, sysadmin's are not benefitting because they can't template profile settings. Add in the problem of "it just randomly stopped working, it's stuck, and won't deploy" makes it hard to proceed with profile manager.



>>> Will that information load on any computer they log into, regardless of whehter it is set to be their device? IE, if they login to imac5, which is my device, isntead of imac1 which is their device, will that user payload still show up for them?


Great question. I don't know the expected behavior for this and would love clarification from Apple on this. For us, this was slighlty mitigated by roaming profiles and mobile sync users. IE the user only needed the setting to be deployed once... and in theory, since they take their home folder and settings with them... it would not matter if they "received" the profile at a new computer... because their home folder should have already saved the deployed profile. So, although I don't know the answer... our theory was a portable home directory would receive the deployed profile settings and save them (making the update not needed?)



Again, we ultimately ditched profile manager in favor of the outdated but functional MCX Workgroup Manager settings.

Nov 13, 2012 3:53 PM in response to ionepoch

I've noticed strange behavior with pushed smtp setting as well

deleting manual or pushed mail settings doesn't seem to remove the smtp settings

especially if your moving from manually configured mail smtp setting to pushed

were the setting are unchanged


eg delete manually configured mail - settings, mail contacts delete mail account

push out same mail account via PM

check mail settings - old manually configured smtp is still there along with pushed smtp setting

sometimes the pushed smtp setting is mixed in with the manual smtp settings

sometimes smtp is disabled yet everything still functions

sometimes no smtp settings at all yet mail still fuctions


I've tried deleting the smtp setting then deleting the profile and pushing the profile out again

resulted in no smtp setting at all, mail still functions


same behavior with ios 6.01

Jan 26, 2013 2:24 PM in response to takh

No... but I have not seen substantial updates to the product in the updates.


There was one update recently... but the description is so vague that I am not hopeful it solved these core problems entirely:


http://support.apple.com/kb/HT5583

Profile Manager

Adds the ability to use Active Directory groups with Profile Manager.

Adds the ability to delete apps uploaded to Profile Manager.

Includes performance and other general enhancements.


Again, I have not pursued it further... but based on recent feedback from others... i'm doubtful anything has improved.

Apr 6, 2013 2:23 AM in response to ionepoch

same problems here.

with osx 10.8 lion and apple server 10.8 and osx 10.8 machines around.

to use osx server feels like having no control over what you want to do with it.


very nice also the help files and informations you got from server.app.

it is explaining you should check your ports.. wow! yes, i did. more than once. 😢

but what for is portmapping, NAT, UPnP and so on if they cant just show you which

ports are really open and working solid.

even if you have them open and checked manually, they use other ports than documented.


in example carddav, should use

_carddavs._tcp 86400 IN SRV 0 1 8443 server.example.com

or

_carddav._tcp 86400 IN SRV 0 1 8008 server.example.com


but is has 8800 in the real *.mobileconfig! so hellouuuu?

is this documented somewhere? please let me know.


and also confusing this kind of informations you dont need because you cant set it up inside the GUI.


even without ssl, this can not work. what is wrong?

it is a leak of wrong communication between the user/admin and the gui and server behind.

is it possible that apple fails? now i know yes, on the whole front here.


so what is correct, the helpfile or the server.app?


i would think the server should say which settings are correct and which it wants to have open,

but it shous you anytime informations where to find some informations you dont need.

so it becomes tradtion to open up mobileconfigs in a texteditor just to controll

and oooops! 😠


totaly other settings, even after restarting, resetting, reconfiguration, rewriting.


it would be so easy to have a smal info panel which shows you exact what comes out after,

if this ports are able to open or which you should open up manual in your walls exactly.


even VPN is working, but never main functions like calendar or addressbooks.

jabber is working, so why if they all have the same structure, ip and so on?

looks more like server.app has writing problems made by the GUI.

the tools who are running the server itsself look like working fine.


cheers!

Profile Manager Fails To Deploy

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.