Skip to content

The operation failed because the Intune MAM SDK failed received a nil value for the user\'s account UPN. #59

@redPanda0147

Description

@redPanda0147

I am getting error while adding upn to intune sdk.

IntuneMAMEnrollmentManager.instance().registerAndEnrollAccount(upn)

print(status.statusCode.rawValue)
207

print(status.didSucceed)
false

print(status.errorString)
The operation failed because the Intune MAM SDK failed received a nil value for the user's account UPN.

print((status.error as? NSError)?.localizedDescription)
Invalid identity. Could not find AAD object id for account: [email protected]

print("userInfo: ", (status.error as? NSError)?.userInfo)
["NSLocalizedDescription": Invalid identity. Could not find AAD object id for account: [email protected]]

MOST IMPORTANT
One user is able to enroll but all the other user is not able to enroll themself.

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