Is it possible to deploy a Datadog resource via a Service Principal?

Marlin Manka 0 Reputation points
2023-02-14T14:55:25.28+00:00

Hi,

I am looking to deploy an ARM template, which defines a Datadog resource, to my personal subscription in Azure. I am able to do this successfully when I deploy through my own account as an owner of my personal subscription. However, when I set up a service principal with owner privileges in the same subscription and try to do the deployment while logged in through the service principal, the deployment of the Datadog resource fails with the following error message:

{

"status": "Failed",

"error": {

    "code": "ResourceCreationFailed",

    "message": "ResourceCreationFailed: Bad Request"

}

}

From my knowledge, using the App registration approach works with service principals, as documented here: https://docs.datadoghq.com/integrations/azure/?tab=azurecliv20. But I am not sure about deploying a Datadog resource using service principals. If anyone can shed some light on this it would be much appreciated.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,912 questions
0 comments No comments
{count} votes

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.