Alternate way to perform blob search without Azure search service.

Shilpa M 21 Reputation points
2023-04-25T10:18:40.33+00:00

Hi, Any other way to search blobs without using azure search service, as search index duplicates data (data in source as well in azure search storage). Also, any way to add user context information for blob level like who has access. any pointers will be helpful.

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,186 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 38,021 Reputation points Microsoft Employee Moderator
    2023-04-27T19:20:46.83+00:00

    @Shilpa M

    You can use Blob Index to search and manage your data on Azure Blob Storage without using Azure Cognitive Search. Blob Index allows you to add custom metadata to your blobs in the form of index tags, which can be used to search and filter your data.

    To add user context information for blob-level access, you can use Azure role assignment conditions with Blob Index tags. This allows you to create role assignments that restrict access to blobs based on their index tags and the user's custom security attributes.

    Here's a high-level overview of the steps:

    Add Blob Index tags to your blobs with relevant metadata.

    Create custom security attributes for users in Azure Active Directory.

    Use Azure role assignment conditions to restrict access to blobs based on their index tags and the user's custom security attributes.

    For more information on Blob Index, refer to the Manage and find data on Azure Blob Storage with Blob Index documentation. For examples of Azure role assignment conditions for Blob Storage, you can check Example Azure role assignment conditions for Blob Storage.

    Hope this helps. Let me know if you have any questions or issues.


    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    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.