Hi,
I am calling the GraphAPI DeviceManagement Retire Method after getting the Owned devices for the user through HTTP connector. And when Power Automate calls the flow getting the ResourceNotFound error and flow is failing.
The URL that I am making a POST call is
https://graph.microsoft.com/beta/deviceManagement/managedDevices/{managedDeviceId}/retire (managedDeviceId is filled by the owned device method)
Ref: https://docs.microsoft.com/en-us/graph/api/intune-devices-manageddevice-retire?view=graph-rest-beta
Any help would be appreciated!