Intune enrolment problems

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-16-2018 11:46 PM
Hi,
There are few problems what we see with Intune:
Mac being compliant according to Intune and the enrolment is done, but still OneDrive/mail does not work or stops working after few days with no obvious reason.
Macs that are reinstalled are not able to enroll to Intune again, for the object is already in Intune and I cannot remove it from Intune since it is managed by Jamf (I have admin rights for Intune and in normal situations I can remove devices from Intune)
Has anyone else experiencing problems with Intune?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-17-2018 06:47 AM
Yes, I have the same issue. I have two tickets opened with MS support.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-17-2018 10:02 AM
Tickets opened with MS Support? What kind of tickets?
What has MS said to you?
I have made a ticket also to MS, but they said that this is something Jamf would need to fix and there is nothing MS can do about this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 07-17-2018 01:22 PM
Microsoft came back with this to try. It worked on one machine and failed on another.
- On the Mac, launch Terminal Services
- Type in "sudo jamf removemdmprofile"
- Type in "sudo jamf removeFramework"
- In the Jamf Pro server: delete the machine’s inventory record
- Delete Device from AzureAD
- Uninstall Company Portal App from Mac
- Delete these files on the machine if they exist:
- /Library/Application Support/com.microsoft.CompanyPortal.usercontext.info
- /Library/Application Support/com.microsoft.CompanyPortal
- /Library/Application Support/com.jamfsoftware.selfservice.mac
- /Library/Saved Application State/com.jamfsoftware.selfservice.mac.savedState
- /Library/Saved Application State/com.microsoft.CompanyPortal.savedState
- /Library/Preferences/com.microsoft.CompanyPortal.plist
- /Library/Preferences/com.jamfsoftware.selfservice.mac.plist
- /Library/Preferences/com.jamfsoftware.management.jamfAAD.plist
- /Users/<username>/Library/Cookies/com.microsoft.CompanyPortal.binarycookies
- /Users/<username>/Library/Cookes/com.jamf.management.jamfAAD.binarycookies
- Remove anything from the keychain on the machine that references Microsoft, Intune, or Company Portal Including DeviceLogin.microsoft.com Certificates 9.Remove Jamf references except for Jamf public and Private key Removing the public and private key will break enrollment and will be severed from Jamf Reboot Mac Reenroll computer in Jamf
