Skip to content

Migration is not working as expected #174

@sant666

Description

@sant666

Could you please help me to know the cause of the below issue. If the user runs the script from self service, it hangs at ""# Function to start the migration dialog in progress mode. start_progress_dialog()""

/Users/dinga/Desktop/JAMF - Intune Migration sample V2.sh: line 1: #!/bin/bash: No such file or directory
Device is managed by Jamf.
swiftDialog is already installed.
User is ready to start the migration.
Company Portal app is already installed.
Checking if the device is ADE enrolled...
Device is ADE enrolled.
Jamf binary not found; it may have already been removed.
profiles remove for identifier:'com.jamfsoftware' and user:'root' returned -205 (The operation couldn’t be completed. (CPProfileManager error -205.))
/usr/local/bin/dialog: line 20: 3922 Terminated: 15 launchctl asuser "$uid" sudo -H -u "$currentUser" "$@"
No matching processes were found
Error: Renewing DEP enrollment failed: (null) (NSCocoaErrorDomain:4099)
Profiles renewed.
/Users/dinga/Desktop/JAMF - Intune Migration sample V2.sh: line 85: --progress: command not found
No matching processes were found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions