How to fix missing Base-64 encode keys option when creating indexer in Azure AI Search

Christoph Rippe 15 Reputation points
2025-04-14T21:06:52.85+00:00

I am trying to complete the exercise for this module https://learn.microsoft.com/en-us/training/modules/create-azure-cognitive-search-solution/ However when I want to create the Indexer the instruction tells me to use the Base-64 encode keys option(Step 13), but this option does not exist anymore. That means that I am unable to create an indexer since my metadata_storage_path which should serve as a key has non-allowed characters in it (so does the metadata_storage_name). Can you please help me with this issue.

Thanks a lot

Azure Azure Training
{count} votes

1 answer

Sort by: Most helpful
  1. Architect Develop Deliver 10 Reputation points
    2025-04-16T23:31:33.2833333+00:00

    How we fixed this issue:

    1.) Navigate to the applicable AI Search Resource

    2.) Select Search management -> Indexers

    3.) Open the indexer that has the issue.

    4.) Click the "{} Edit JSON" tab.

    5.) Locate the "fieldsMappings" section of the JSON markup.

    6.) Apply the following:

    "fieldMappings": [

    {

    "sourceFieldName": "metadata_storage_path",
    
    "targetFieldName": "metadata_storage_path",
    
    "mappingFunction": {
    
      "name": "base64Encode",
    
      "parameters": null
    
    }
    

    }

    ]

    7.) Click Save, which will navigate back to the Indexers

    8.) Click the Run button to rerun the indexer process.

    9.) Done!

    Good Luck!

    2 people found this answer helpful.

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.