service principal no more able to retrieve health status via api

Angelo IORLI (PTV Group) 40 Reputation points
2025-03-14T08:37:32.3633333+00:00

service principal no more able to retrieve health status via api, since a couple of days.

with the same service principal other resource' status are being retrieved

Azure Health Data Services
Azure Health Data Services
An Azure offering that provides a suite of purpose-built technologies for protected health information in the cloud.
191 questions
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 25,111 Reputation points Microsoft Employee Moderator
    2025-03-17T11:05:23.9733333+00:00

    @Angelo IORLI (PTV Group) Thanks for your time over offline. I will be summarizing our discussion and posting the same as answer for the benefit of community members.

    Issue: Customer is trying to pull the resource health status of the resources under their subscription using the bash script and it is getting 3 resources details instead of listing all resource details under their subscription/resource group.

    Troubleshooting/Mitigation Steps:

    • Customer is using the wrong api version in their rest api to pull the resource health of resources.
    • Updated the customer script to use this rest api Availability Statuses - List By Resource Group and this api version "2024-02-01" to pull the resource health.
    • Customer has made the above suggested changes and they are able to pull the resource health of existing resources under their resource group.

    Hope this helps, let me know if you have any further questions.

    Please accept as Yes if the answer is helpful so that it can help others in the community.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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