Hello all,
I've noticed that when creating a new organization in Cisco Meraki, the default licensing model is cotermination.
I have been using the following Ansible task to add a subscription license, but it consistently fails:
- name: Claim subscription licensing
cisco.meraki.administered_licensing_subscription_subscriptions_claim:
meraki_api_key: "{{ auth_key }}"
claimKey: "{{ subscription_claim_key }}"
name: "networks subscription license"
organizationId: "{{ org_id }}"
validate: true
It gives this error:
TASK [claim_organization_license ] *******
133An exception occurred during task execution. To see the full traceback, use -vvv. The error was: <center><h1>404 Not Found</h1></center>please wait a minute if the key or org was just newly created. 134fatal: [localhost]: FAILED! => {"changed": false, "msg": "An error occured when executing operation.The error was: licensing, claimAdministeredLicensingSubscriptionSubscriptions - 404 Not Found, <html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>please wait a minute if the key or org was just newly created."}
This task works as expected when tested with an organization where the subscription license was added manually. However, it fails when applied to a newly created organization.
I am attempting to automate the transition from the default coterm license model to a subscription licensing model using Ansible. Could anyone provide guidance on the correct API endpoint?
Thank you in advance for your help!
Update: 2 post updated by adding the error details when it fails.