Notification FcmV1 Credentials setup

Dariusz 0 Reputation points
2024-10-21T20:58:03.2366667+00:00

I'm trying to migrate from FCM legacy into FCMV1 and unfortunately I cannot update the credentials in Azure Portal. I tried creating credentials both in Firebase and in Google Console, but none of them works. I tried using Portal as well as management.azure.com API and in both cases I receive :

{"error":{"code":"BadRequest","message":"Invalid FcmV1 credentials."}}

Example request for management api:
{

"location": "northeurope",

"properties": {

  "fcmV1Credential": {

    "properties": {

        "clientEmail": "REDACTED",

        "projectId": "REDACTED",

        "privateKey": "-----BEGIN PRIVATE KEY-----** REDACTED **\n-----END PRIVATE KEY-----\n"

    }

  }
```  }

}

projectId is set to project_id from google.json

privateKey - private_key  from google.json

clientEmail - client_email from google.json

I also tried to create new Notification Hub in EUSA, Sweden Central and Poland Central, but I cannot set FCM V1 on either.

Update: Problem solved. You can close the question. It turned out I haven't enabled FCM V1 in Cloud messaging tab in Firebase 

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
326 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 21,851 Reputation points
    2024-10-25T11:26:45.7133333+00:00

    @Dariusz Thanks for reaching here- Going through your query it seems the issue is resolved-

    Update: Problem solved. You can close the question. It turned out I haven't enabled FCM V1 in Cloud messaging tab in Firebase

    Glad that you were able to resolve your issue and I appreciate your effort in sharing the solution.

    Your contribution will undoubtedly assist others facing similar challenges.

    As the [Microsoft Q&A community follows a policy where the question author cannot accept their own answer] {https://learn.microsoft.com/en-us/answers/support/accept-answer} ,

    I've reposted your solution.  Feel free to consider "Accepting" the answer if you find it suitable.

    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.