Unable to open portal explorer for a tenant which is recreated with the same name
The portal explore opens a new screen with a 500 server error .
The tenant was previously deleted using the restman call
curl --request DELETE "https://apim-<Portal_domain>:9443/provision/tenants/tenantname" --cert ./certs/apim.pem --key ./certs/apim.pem -kv
And recreated with the same tenant id using the create_tenant.sh script.
A newly created tenant with a new name works oke
Release : 5.2
It seems the tenant delete does not delete the org user for the tenant, which is causing a issue when the tenant is recreated with the same name.
To resolve this we have to delete the tenant once more and recreate it again.
Before recreating it , go to the apim tenant .
https://apim.<Portal_domain>
login with admin pw 7layereyal7
Go to the settings menu and select users
select the user PORTAL,Administrator where the organization is referring to the deleted portal tenant "Portal API Org for tenantname(Consumer )" delete this user
after this recreate the tenant using the create_tenant.sh script
Now you can access portal explorer for this tenant.