Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function Get-EXCContacts need update to use modern auth? #61

Open
wayfarerfin opened this issue Oct 3, 2022 · 1 comment
Open

function Get-EXCContacts need update to use modern auth? #61

wayfarerfin opened this issue Oct 3, 2022 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@wayfarerfin
Copy link

wayfarerfin commented Oct 3, 2022

function Get-EXCContacts need update to use modern auth?

Now:
#Connect
$service = Connect-EXCExchange -MailboxName $MailboxName -Credential $Credentials

Shoud be?:

	#Connect
	 $service = Connect-ExchangeOnline -ConnectionUri $ConnectionUri -CertificateFilePath $CertificatePath -CertificatePassword $CertificatePassword -AppId $ClientID -Organization $ExchangeOrg

btw. thank you very much for your excellent scripts and updates!

@grahamr975
Copy link
Owner

@wayfarerfin

I'm glad you like the script!

Good catch. This shouldn't be an issue since I replaced Get-EXCContacts with the Get-EXCContactsObject function. I'll keep this open so I can review & remove any functions that are obsolete.

@grahamr975 grahamr975 self-assigned this Oct 4, 2022
@grahamr975 grahamr975 added the documentation Improvements or additions to documentation label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants