Closed lopezleandro03 closed 1 year ago
Hi @lopezleandro03
One reason that the project may not appear on the Dev Portal is if the project is in a failed state. You can check if this is true by selecting either of the missing projects in the Azure Portal and clicking on "JSON view" on its overview page.
Hi @ericaguthan, it's all good in the JSON view.
"provisioningState": "Succeeded"
The same IaC was used to deploy another project that is visible. Same user account with the same RBAC roles applied at the project level. All projects belong to the same DevCenter.
Hi @lopezleandro03,
Another reason that projects might not show in this view is if there are no project environment types configured. I recommend validating that the IAC template successfully created Project Environment Types on the missing projects, and opening a support request to investigate further if things look good there.
This is happening for us also. I think there may be multiple reasons that the DevCenter gets out of synch with the DevPortal. Here is a way that seemed to consistently cause the issue.
After step 3 (and you wait a few minutes) the environment disappears from the Project/Environments list in DevCenter. After step 5 (and you wait a few minutes) the environment reappears in Project/Environments list in DevCenter. After step 6 (and you wait a few minutes) the user can create new environments but cannot see the environment created in step 2. Also after step 6, if the user creates another environment then logs out and back in again that environment also doesn't show up.
@KarsonAlford Does waiting resolve the issue? The way we check for permissions in our API does involve a cache. This means you can get cached results for a bit after updating permissions.
I've been able to reproduce this, but the issue always goes away after 15-20 minutes.
@lopezleandro03 Are you still seeing issues?
@KarsonAlford Does waiting resolve the issue? The way we check for permissions in our API does involve a cache. This means you can get cached results for a bit after updating permissions.
I've been able to reproduce this, but the issue always goes away after 15-20 minutes.
No waiting did not resolve the issue. However, this was affecting us a month ago and during the troubleshooting DevCenter was getting updates that may affect this behavior. We are no longer using DevCenters so I am not sure it this is still occuring.
Closing, but feel free to open again if this issue persists.
Hi,
I have deployed a DevCenter configured to use ADE using this Azure Developer CLI template:
https://github.com/lopezleandro03/azd-devcenter
This IaC provisions 3 projects with 3 environments each and set the same project members across all projects. However, in the Dev Portal I can only select the first project. The expected behavior would be to see a dropdown with all my projects.
Same RBAC roles applied to all projects. This seems to be a bug.
Any guidance? Thanks.