cli-microsoft365 icon indicating copy to clipboard operation
cli-microsoft365 copied to clipboard

Ability to search outlook address books?

Open rudolphpienaar opened this issue 2 years ago • 2 comments

As part of (an extension to?) the

m365 outlook mail send ...

it would be rather useful to also be able to verify possible recipients or search for them in an addressbook. Something like

m365 outlook addressbook search <someSubStr|regex>

that would return a (JSON) structure of responses.

rudolphpienaar avatar Sep 13 '22 15:09 rudolphpienaar

Hey @rudolphpienaar, thanks for your suggestion.

Wouldn't this be quite similar to a command we already have m365 aad user list? Docs Here you can search for users within AAD based on there properties like e.g. displayName, jobTitle, etc.

Jwaegebaert avatar Sep 15 '22 06:09 Jwaegebaert

Aaahhh... many thanks -- yes this is largely what I was thinking of. My "goal" is to consider how to add this transparently to third party clients like Thunderbird -- but I suspect this would entail some intermediate infrastructure.

rudolphpienaar avatar Sep 22 '22 17:09 rudolphpienaar

@rudolphpienaar @Jwaegebaert since you can send emails to people outside your organization, shouldn't we be looking at user's contacts rather than users in the current AAD?

waldekmastykarz avatar Oct 09 '22 08:10 waldekmastykarz

Closing due to lack of response

waldekmastykarz avatar Dec 10 '22 12:12 waldekmastykarz