Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Enhance UpdateCachedConditionalAccessPolicyByName functional test helper to make Entra tests more resilient聽#2191

Copy link
Copy link
@tkol2022

Description

@tkol2022
Issue body actions

Prerequisites

  • This issue has an informative and human-readable title.
  • Assignee should meet with issue author before starting work.

馃挕 Summary

Based on #2036 we decided to slightly redesign how the Entra functional tests related to conditional access policies work, so that the tests do not rely on specific tenant CAP names and are more resilient to changes to CAPs in the tenant.

The scope of this issue is to update the helper function UpdateCachedConditionalAccessPolicyByName accordingly. See implementation section.

Motivation and context

We want to reduce flaws that make the functional tests less resilient and we don't want to rely on the tenant being in specific states because that is hard to maintain and contributes to the tests being brittle.

Implementation notes

  1. Update the UpdateCachedConditionalAccessPolicyByName function to behave as follows (replaces the current code flow):
  • Makes all polices Off in the temporary provider JSON file
  • Modify first policy in the temporary provider JSON file with the splat
  1. Change the name of the function since it is no longer modifying a specific policy by name

Acceptance criteria

  • Developer has tested the implementation above.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis issue or pull request will add new or improve existing functionalityThis issue or pull request will add new or improve existing functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.