Communication service is showing me blank Keys and gives error: Something went wrong. Regenerate your keys to fix this issue.

Marc A. Michaels 11 Reputation points
2022-11-07T14:23:07.207+00:00

My app is failing to send SMS messages for some reason. When I went to the communication service and click "Keys" I can't see any keys. Instead I get a red error that says: Something went wrong. Regenerate your keys to fix this issue. However, if I click "regenerate keys", nothing happens. 257839-ss3.png

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
848 questions
0 comments No comments
{count} votes

7 answers

Sort by: Most helpful
  1. Martin Wortner 1 Reputation point
    2024-08-01T07:25:17.4566667+00:00

    We are facing similar issue. I am unable to finish Bicep deployment because of this.

        "status": {
            "value": "Failed",
            "localizedValue": "Failed"
        },
        "subStatus": {
            "value": "NotFound",
            "localizedValue": "Not Found (HTTP Status Code: 404)"
        },
        "submissionTimestamp": "2024-08-01T07:20:27Z",
        "subscriptionId": "...",
        "tenantId": "...",
        "properties": {
            "statusCode": "NotFound",
            "serviceRequestId": null,
            "statusMessage": "{\"error\":{\"code\":\"ListKeysFailed\",\"message\":\"Specified resource not found\"}}",
            "eventCategory": "Administrative",
    
    0 comments No comments

  2. Martin Wortner 1 Reputation point
    2024-08-01T12:20:25.25+00:00

    For me the issue was that I have connected not completely verified domain(SPF, DKIM1/2). In portal you are not able to add not completely verified domain, but Bicep allows for that (Azure manged is always completely verified). Creation of just communication service was showing the keys. After I finished verification of all entries it started working and the endpoint and keys are shown correctly.

    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.