Could not run DebugSession 'xml-debug'. Could not persist an event for the DebugSession. Error: 'This request is not authorized to perform this operation.'

Cody Frascione 0 Reputation points
2024-10-31T18:55:57.8966667+00:00

Error in title. Cannot run a debug session on a search service. I verified the prerequisites here. I also see the error: "Could not retrieve execution-data for DebugSession 'xml-debug'. Please check the storage connection string associated with the debug session is correct, the storage account exists, and the credentials in the connection string is correct." but I don't see anywhere in the debug config to specify the full connection string, the storage account I specified does exist and has no network restrictions.

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,049 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Cody Frascione 0 Reputation points
    2024-10-31T19:44:46.3433333+00:00

    Evidently I did not check all the prerequisites. Had to add "Storage Blob Data Contributor" role to the indexer assignment on the storage account.

    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.