Share via

error while creating microsoft.discovery agent

Amogh A 0 Reputation points
2025-11-08T19:30:05.1566667+00:00

I see Micorosft.discovery is registered under my subscription still when I am trying to create agent, I am getting below error. please help

{

"code": "InvalidResourceType",

"message": "The resource type could not be found in the namespace 'Microsoft.Discovery' for api version '2025-07-01-preview'."

}

Microsoft Copilot | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Taz 9,366 Reputation points MVP Volunteer Moderator
    2025-11-18T19:58:52.18+00:00

    The error message indicates that the resource type 'Microsoft.Discovery' is not recognized for the API version '2025-07-01-preview'. This could be due to an incorrect API version or the resource type not being available in that version.

    Here are a few steps to troubleshoot:

    1. Verify the API version you are using. Check the latest documentation for the correct API version for 'Microsoft.Discovery'.
    2. Ensure that 'Microsoft.Discovery' is correctly registered in your subscription.
    3. If the issue persists, try using a different, stable API version.

    If you need further assistance, please provide more details about the steps you are following and the context of your setup.

    Was this answer helpful?

    0 comments No comments

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.