Failure in Generating Azure AI Search Index with Custom Metadata in Blob

Ian Chen 6 Reputation points MVP
2025-01-03T07:04:58.51+00:00

Custom metadata in Blob, named fileauth, contains string value.

AI Search skillset include Text.SplitSkill and Text.AzureOpenAIEmbeddingSkill.Since fileauth does not require embedding, no mappings were configured for it.

AI Search indexer has the following fieldMappings configured

{

"sourceFieldName": "metadata_storage_fileauth",

"targetFieldName": "fileauth",

"mappingFunction": null

}

Additionally, the fileauth field exists in the AI Search index. However, after execution, the fileauth field in the index does not contain any data.

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
1,339 questions
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,731 Reputation points Microsoft Employee Moderator
    2025-01-04T06:48:15.1866667+00:00

    @Ian Chen This is certainly an odd error to receive. I've put together some suggestions below based on my experience and hopefully one of them will resolve the issue for you.

    To troubleshoot this, first, ensure that the fileauth metadata is correctly set in your Blob Storage, using tools like Azure Storage Explorer to verify its presence and correct naming. Next, review the logs for your indexer to check for any errors or warnings related to the fileauth field, as these logs can provide valuable insights. Double-check your field mapping configuration to ensure that the sourceFieldName and targetFieldName are correctly specified without any typos. Additionally, make sure your indexer is configured to include metadata fields, as specific settings might need to be enabled for proper indexing. After making any necessary adjustments, try running the indexer again to see if the fileauth field gets populated.


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.