mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 08:16:01 +03:00
[GH-ISSUE #3989] [Bug]: Deploying multiple multitenant Apps in one standard Fails to apply permissions #1793
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#1793
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mruiterHU on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/3989
Required confirmations before submitting
Issue Description
We have two multitenant applications originating from our partner tenant, each serving a different use case. Until now, we’ve been deploying them using two separate standards:
This setup works as expected, both apps are successfully deployed to the target tenants with the correct permissions (see screenshot for reference).
The Issue
We would now like to reorganize and consolidate these into a single standard that deploys both applications. According to the documentation, this should be possible by using a comma-separated list of App IDs in the standard.
However, when running the standard with both App IDs:
Failed to add app (appid). Error: Invalid object identifier 'oauth2PermissionGrants'.
rvdwegen suggested the issue might be related to how $AppExists is handled in the script.
Additional Information
sponsering via: https://github.com/hypecipp
Environment Type
Sponsored (paying) user
Front End Version
7.5.1
Back End Version
7.5.1
Relevant Logs / Stack Trace
@github-actions[bot] commented on GitHub (Apr 18, 2025):
Thank you for reporting a potential bug. If you would like to work on this bug, please comment:
Thank you for helping us maintain the project!
@ndit-dev commented on GitHub (Apr 18, 2025):
+1 started deploying two apps through standards today, first app worked as expected. But get the same error as OP when the second app is added
@Zacgoose commented on GitHub (May 2, 2025):
+1 as well, might have a look into this if I get time
@KelvinTegelaar commented on GitHub (May 28, 2025):
We've made massive changes to how this works, fixed in dev, but I recommend switching over to templates instead of comma separated :)