none
How to change auth method? RRS feed

  • Question

  • How to change "Authentication method"  from "Access Key" to "Azure AD User Account" in BLOB Container programmatically (not with portal) with c# or with REST API for Blob?

    Tuesday, August 13, 2019 3:56 PM

All replies

  • Hi,

    the key advantage of using Azure Active Directory (Azure AD) with Azure Blob storage or Queue storage is that your credentials no longer need to be stored in your code. Instead, you can request an OAuth 2.0 access token from the Microsoft identity platform (formerly Azure AD).

    https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-app

    https://docs.microsoft.com/en-us/azure/storage/common/storage-auth-aad-msi?toc=%2fazure%2fstorage%2fblobs%2ftoc.json


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. My blog: http://cloudskillz.wordpress.com/

    Tuesday, August 13, 2019 4:20 PM
  • Just checking in to see if the above answer helped. If this answers your query, do click “Mark as Answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
    Tuesday, August 20, 2019 11:43 AM
    Moderator
  • @Artyom Sveshnikov Is there any update on the issue?

    If the suggested answer helped for your issue, do click on "Mark as Answer" and “Vote as Helpful” on the post that helps you, this can be beneficial to other community members.

    Wednesday, August 21, 2019 6:45 AM
    Moderator
  • @Artyom Sveshnikov Just checking in to see if the above answer helped. If this answers your query, do click “Mark as Answer” and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.
    Monday, August 26, 2019 7:03 AM
    Moderator