Deploy to tenant, certificate error


(Marcus) #1

I am trying to deploy a package to my tenant , the project that i want to deploy have a project variable of type certificate but for my tenant this certificate is not relevant so i scope the variable to only be used when i deploy in the specific channel that is not used when i deploy to tenants. I also scope it to be used only in a specific process step that is not used when i deploy to tenants. Even if i scope it to not be used or replacing the certificates in my tenant specific variables i still get this error

There was a problem with your request.
• [MyTenant] is not authorized to use certificates '[MyCertificate] ',. They are referenced by variables . Once you have corrected these problems you can try again. If the problem is related to a variable you will need to update the variables for this release or recreate the release for the changes to take effect. If the problem is related to the deployment process you will need to create a new release for the changes to take effect.

The only thing that works is if I define a scope on certificate variable and choose to include it only in a specific environment. What if i want to use the same environment, is that not possible? Do i really need to create new environments for my tenants just to get around the certificate error!?

(Jayden Platell) #3

Hi Marcus,

I’ve been able to reproduce the issue as you’ve described locally, and it looks like there may be a bug with how or when we take channels into account when evaluating variables. I’ll investigate further, and let you know my results.

Thank you for contacting us, I’ll be in touch soon.