Hi @Ayan Usmani ,
Per my test, before using the API, you must have the relevant license in your tenant that you can see in AD.
Then you can use the List subscribedSkus API: GET /subscribedSkus
to list the license that you have subscribed to. You can check if the Sku: 05e9a617-0261-4cee-bb44-138d3ef5d965 is being subscribed. And the skuId property can be used to assign license.
I tested it locally and then made it run successfully by adding the disabledPlans property, the value of which is the servicePlanId in the response of the /subscribedSkus
endpoint.
Hope this helps. Wish you all the best.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.