Azure PHP SDK?

VNA-Developer 20 Reputation points
2023-11-21T11:32:33.93+00:00

Hi,

We are publishers of an application in the Azure Marketplace and we need to automatically verify that the usage of our application in Azure complies with our software licensing.

Our application (running in Azure) can automatically register itself on our external services (hosted on our private servers). During its registration, it transmits the (Azure) Subscriber Id, VM Id and the Plan ID/name (of our application) to our external services.

Ideally we are looking for a PHP SDK API that we can use on our external services to perform the job. This is perfectly possible with AWS and we are looking for something similar in Azure.

Any suggestion or help would be greatly appreciated.

Best Regards,

VNA

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. VNA-Developer 20 Reputation points
    2023-11-22T16:17:04.7066667+00:00

    Hello Samit,

    Thank you for your answer.

    Azure REST API sounds good and we can perfectly use it in our PHP code.

    However we have some questions:

    We have an account on the "Microsoft Partner Center" portal that we use to publish our offers. That's not a classical Azure account and we don't use that account to create/manage Azure ressources (but only to publish our offers in the Marketplace).

    Logically, only the publisher of an offer should be able to verify if a machine instance is running his applications. Hence, any client that uses that REST API should be authenticated as the publisher. Isn't it?

    Do you think that we can use that REST API with our publisher account? If so, we can't find any option on the "Microsoft Partner Center" that allows us to create users and/or credentials (access and secret access keys) to use for authentication part.

    Any thoughts?

    Best Regards,

    VNA

    0 comments No comments

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.