magnetarneo
magnetarneo

Reputation: 182

Azure storage add role assignment AD group via nodejs

How do I add a new role assignment to an Azure Storage Blob Container where the role is Reader and the member is an Azure AD Group via javascript/nodejs?

I cannot seem to find which SDK to use. I found this page, but not sure if it the correct one to use?

Upvotes: 0

Views: 145

Answers (1)

magnetarneo
magnetarneo

Reputation: 182

For anyone looking to implement the same logic, here comes my findings.

You need to use @azure/arm-authorization to create the client. More details can be found here

For sample code, check this GitHub repo

Upvotes: 1

Related Questions