Skip to content

Conversation

@skeller-tv
Copy link
Contributor

add a new script to import sso email exclusions from csv file


.DESCRIPTION
The script fetches a list of SSO domains you have configured, loads the CSV file,
will check for email addresses for each of your domains in hte CSV and add them to the exclusion list of their repective domain

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo hte --> the

Column name where to find emails in imported csv file

.EXAMPLE
.\Add-SsoExclusionsFromCSV -csvPath 'c:\ps playground\test.csv' -HeaderName 'Email' -WhatIf

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't the example missing the api token? Or should this be in the CSV

param($csvPath, $HeaderName)

#import emails fom csv
$users = Import-Csv -Path $csvPath

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proposal: Naming row

@skeller-tv skeller-tv merged commit 3d762e9 into master Aug 9, 2023
@ChristianJ-TV ChristianJ-TV deleted the SsoExclusionsFromCSV branch August 9, 2023 18:12
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.

3 participants