Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ManagedDevices.CreateDevice returns No OData route exists #23741

Closed
hazcod opened this issue Nov 13, 2024 · 3 comments
Closed

ManagedDevices.CreateDevice returns No OData route exists #23741

hazcod opened this issue Nov 13, 2024 · 3 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. IoT Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@hazcod
Copy link

hazcod commented Nov 13, 2024

Bug Report

Version: github.com/microsoftgraph/msgraph-sdk-go v1.51.0
Go version: go version go1.23.3 darwin/arm64

  • What happened?
    Returns error: failed to update device: No OData route exists that match template ~/singleton/navigation with http verb POST for request /DeviceFE/StatelessDeviceFEService/deviceManagement/managedDevices."

  • What did you expect or want to happen?
    Wanted to update the compliance state of an Azure device.

  • How can we reproduce it?

	_, err = a.graphClient.DeviceManagement().ManagedDevices().Post(context.Background(),
		device.azureDevice, nil)
	if err != nil {
		return fmt.Errorf("failed to update device: %v", err)
	}
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. IoT Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Nov 13, 2024
Copy link

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@jliusan
Copy link
Member

jliusan commented Nov 25, 2024

@hazcod pelease change the issue to the repo 'github.com/microsoftgraph/msgraph-sdk-go'

@hazcod
Copy link
Author

hazcod commented Nov 25, 2024

My bad, created microsoftgraph/msgraph-sdk-go#807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. IoT Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants