@Niels Bijl Thanks for reaching here! If I am understanding right you are facing below error-
Error with data source: Credentials provided in the connection string are invalid or have expired
So as mentioned in the document- If you are receiving the document key is invalid you may want to know that Keys can only contain letters, digits, underscore (_), dash (-), or equal sign (=). and also Document key cannot be longer than 1024 characters.
Suggest you to Ensure all documents have valid document keys.
Review Indexing Blob Storage for more details. If you're using the blob indexer, and your document key is the metadata_storage_path
field, make sure that the indexer definition has a base64Encode mapping function with parameters
equal to null
, instead of the path in plain text.
Modify the document key to meet the validation requirements.
More Details- https://learn.microsoft.com/en-us/azure/search/cognitive-search-common-errors-warnings#error-could-not-parse-document
Please let us know.