@Sekar, Sivaraman (Cognizant) We apologize for the error you are encountering when attempting to register the devices.
Please see this sample of how to use the Azure-SB SDK here
Using this example, you can set the GCM_REGISTRATION_ID which is the device token from the Android device such as you would get from here.
This has the usage of GCM/Firebase here in registering, which is using the REST-API method of create registration under the covers: Create a registration | Microsoft Learn
Can you please review this content to see if this allows you to successfully register the device?