mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 16:26:09 +03:00
[GH-ISSUE #4194] [Bug]: CA Template with Named locations errors on deployment #1897
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#1897
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 @sfaxluke on GitHub (Jun 2, 2025).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/4194
Required confirmations before submitting
Issue Description
I created a Conditional Access Policy on the client's tenant with a named location set.
Then, on CIPP, I created it as a CA template.
When deploying it via standards, it initially fails to deploy the CAP but deploys the named locations list then on the next run of standards, it deploys the CAP.
Ideally, it would deploy both together and based on the error in the logbook it is only deploying one part due to the CA template exporting the ID. However on the second run it seems to be happy?
Created new Named Location: MSP Blocked CountriesFailed to create or update conditional access rule MSP Blocked Countires: 1040: NamedLocation with id 1df231c7-9930-485f-a00a-ba4bc47a8901 does not exist in the directory.Failed to create or update conditional access rule . Error: Failed to create or update conditional access rule MSP Blocked Countires: 1040: NamedLocation with id 1df231c7-9930-485f-a00a-ba4bc47a8901 does not exist in the directory.Environment Type
Sponsored (paying) user
Front End Version
v8.0.1
Back End Version
v8.0.1
Relevant Logs / Stack Trace
@github-actions[bot] commented on GitHub (Jun 2, 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!
@KelvinTegelaar commented on GitHub (Jun 14, 2025):
Solved in dev