Integration runtime monitor API is returning 405

sridhar 6 Reputation points
2021-12-23T09:53:40.673+00:00

I have tried the below Rest API from website as well from .net, and its returning 405 status code always. Can you please help here.

https://learn.microsoft.com/en-us/rest/api/datafactory/integration-runtimes/get-monitoring-data

Thanks,
Sridhar

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 91,576 Reputation points Moderator
    2021-12-24T07:13:45.877+00:00

    Hello @sridhar ,

    Thanks for the question and using MS Q&A platform.

    As per the Common REST API error codes document - 405 Error means - The resource doesn't support the specified HTTP verb.

    160140-image.png

    Note: You need to specific Self-hosted Integration runtimes.

    If you specify Azure IR you will see this error message: Response code: 405 with empty JSON.

    160246-image.png

    If you specify Azure IR with VNet option enabled you see this error message: Response code: 405 with below JSON.

    160283-image.png

    As per the repro, I had tried to get the Self-Hosted integration runtime monitoring data, which includes the monitor data for all the nodes under this integration runtime which worked as excepted.

    160291-adf-restapi-getmntr.gif

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.