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

az cli support for inviting guest user in Azure AD

Open marina-marenkov opened this issue 1 year ago • 3 comments

Please, add a support for inviting quest user as documented here in order to be able to build fully automated processes: At the moment, it's supported only by powershell:

marina-marenkov avatar Oct 08 '23 13:10 marina-marenkov

Thank you for opening this issue, we will look into it.

yonzhan avatar Oct 08 '23 13:10 yonzhan

@marina-marenkov, it looks like your issue description is not complete. Could you please share the full information?

Per my understanding, inviting guest user in Azure AD requires calling Create invitation REST API which Azure CLI currently doesn't support. Please see https://github.com/Azure/azure-cli/issues/22580#issuecomment-1150686865 for explanations and workarounds.

jiasli avatar Oct 09 '23 02:10 jiasli

you can also use the New-AzureADMSInvitation powershell comdlt if while this is not included into azure cli...

https://learn.microsoft.com/en-us/powershell/module/azuread/new-azureadmsinvitation?view=azureadps-2.0

marconsilva avatar May 02 '24 12:05 marconsilva