aadbook is a fork of GooBook focusing on making it possible to use your Azure AD contacts from the command-line and from MUAs such as Mutt.
aadbook doesn't support all goobook's command, its
query command is 100% compatible with goobook's one, meaning you can use
aadbook with vim-goobook!
Generate auth tokens:
> pip install aadbook
Load the contacts:
> aadbook authenticate To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code CVSEQPB6T to authenticate.
> aadbook reload ....
> aadbook query Darth firstname.lastname@example.org Darth Maul email@example.com Darth Vader