question

JenkinsBrianDavid-9937 avatar image
0 Votes"
JenkinsBrianDavid-9937 asked JenkinsBrianDavid-9937 answered

Graph API - POST importedDeviceIdentities error "No method match route template"

Using BETA APIs to test creating device corporate identifiers for our company. Using POST with https://graph.microsoft.com/beta/deviceManagement/importedDeviceIdentities and am receiving error
{
"error": {
"code": "No method match route template",
"message": "No OData route exists that match template ~/singleton/navigation with http verb POST for request /DeviceEnrollmentFE_2106/StatelessDeviceEnrollmentFEService/deviceManagement/importedDeviceIdentities.",
"innerError": {
"date": "2021-07-15T20:14:19",
"request-id": "I removed this",
"client-request-id": "I removed this"
}
}
}

Verified JSON body is accurate, except I'm not certain if 'lastContactedDateTime' requires a value. Other device corporate identifiers show as Not Applicable in the CI list.

microsoft-graph-users
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you have a license?

0 Votes 0 ·

Absolutely. I can use the other BETA APIs such as List identity of all devices and Get identity of a single device, it's just the Create that appears to not be working for me. Unsure if it's an error on my part or the BETA for this just isn't working properly.

1 Vote 1 ·
CarlZhao-MSFT avatar image CarlZhao-MSFT JenkinsBrianDavid-9937 ·

After testing, I can reproduce your problem and I will try to solve it.

1 Vote 1 ·

Unfortunately, I can't seem to solve it with the /beta endpoint, have you tried the /v1.0 endpoint?

0 Votes 0 ·
JenkinsBrianDavid-9937 avatar image
1 Vote"
JenkinsBrianDavid-9937 answered

This API doesn't exist for v1.0.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JenkinsBrianDavid-9937 avatar image
0 Votes"
JenkinsBrianDavid-9937 answered

Or rather, the APIs for v1.0 all apply to Windows devices. I'm trying to enter Corporate Identifiers for Apple mobile devices.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.