@Leonardo It seems that you are trying to remove the APNS certificate credentials and add the APNS token credentials at the same time, which is not allowed. The error message you received indicates that APNS credentials may not include both token and certificate.
To resolve this issue, you will need to remove the APNS certificate credentials first and then add the APNS token credentials. Here are the steps you can follow:
- Go to the Azure portal and navigate to your Notification Hub service.
- Click on the "APNS" tab.
- Click on the "Delete" button next to the certificate credentials that you want to remove.
- Once the certificate credentials have been removed, click on the "Add" button to add the APNS token credentials.
- Follow the instructions to add the APNS token credentials.
After you have added the APNS token credentials, you should be able to use them for your Notification Hub service.