Cannot release Gemini Cloud Assist licence of a deleted user

I have been trying to release a Gemini Cloud Assist licence for one of the users who had just left our team. But when trying to do so, it throws an error due to the deleted email of that user. That particular licence is being wasted now.

Please help me fugure out a way to assign the licence to another team member and to release the licence from the earlier member’s email.

Thanks!

Hello @Yashh,

How have you specifically removed the user (was it via UI, API call: Method: billingAccounts.orders.licensePool.unassign  |  Google Cloud Marketplace  |  Google Cloud Documentation, etc)? Do you have a stack trace of the full exception so that we can attempt to reproduce?

As an FYI this forum is for Apigee API Management, if possible I would recommend re-posting your question in the following forum: Build with AI - Google Developer forums

Thanks!
Matt

1 Like

Sure I will post this in Build with AI - Google Developer forums forum.

I tried via GCP Console(UI). The following is the error stack trace:
ErrorResponse: {“errorParameters”:{“map”:{}},“url”:“https://cloudconsole-pa.clients6.google.com/v3/entityServices/AtlasEntityService/schemas/ATLAS_GRAPHQL:batchGraphql?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g&prettyPrint=false”,“headers”:{},“status”:404,“statusText”:“Not found”,“method”:“POST”,“body”:{“error”:{“code”:5,“message”:“com.google.apps.framework.request.NotFoundException: Cannot unassign users which are not currently assigned to this license.”,“path”:[“licenseManagementData”,“unassignUserLicenses”]},“trackingId”:(PII Removed by Staff),“hasPartialData”:false},“bodyText”:“{\“error\”:{\“code\”:5,\“message\”:\“com.google.apps.framework.request.NotFoundException: Cannot unassign users which are not currently assigned to this license.\”,\“path\”:[\“licenseManagementData\”,\“unassignUserLicenses\”]},\“trackingId\”:\(PII removed by Staff)\”,\“hasPartialData\”:false}“,“errorExperience”:1,“clientHandler”:0,“trackingId”:”(PII removed by Staff)“,“requestId”:”(PII Removed by Staff)",“requestSampled”:false,“message”:“com.google.apps.framework.request.NotFoundException: Cannot unassign users which are not currently assigned to this license.”,“errorCode”:5,“path”:[“licenseManagementData”,“unassignUserLicenses”]}

Thanks,
Yash