Skip to content

FIX EIDSCA.AS04: Authentication Method - SMS - Use for sign-in.#1490

Open
ThorNicolai wants to merge 2 commits intomaester365:mainfrom
ThorNicolai:main
Open

FIX EIDSCA.AS04: Authentication Method - SMS - Use for sign-in.#1490
ThorNicolai wants to merge 2 commits intomaester365:mainfrom
ThorNicolai:main

Conversation

@ThorNicolai
Copy link
Contributor

Description

User Bennell flagged an issue in discord related to multiple groups assigned to the SMS Authentication Method and this EIDSCA.AS04 test. The returned value would be 'False False' if for example 2 groups are assigned to the Authentication method SMS rather than 'False'. Marking the test as failed, where it would actually have passed if logic was set correctly.

Compute failingTargets where isUsableForSignIn != 'false', set tenantValue/testResult accordingly, and fetch directory objects to include display names for failing targets.

Contribution Checklist

Before submitting this PR, please confirm you have completed the following:

  • 📖 Read the guidelines for contributing to this repository.
  • 🧪 Ensure the build and unit tests pass by running /powershell/tests/pester.ps1 on your local system.

Treat includeTargets as an array and detect when the tenant setting is not explicitly set. Compute failingTargets where isUsableForSignIn != 'false', set tenantValue/testResult accordingly, and fetch directory objects to include display names for failing targets. Produce a clearer, detailed markdown summary listing each failing target and its isUsableForSignIn value and improve handling of the not-set case.
@ThorNicolai ThorNicolai requested a review from a team as a code owner March 16, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant