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

Bug report: Unable to use system-managed identity #6527

Open
milanholemans opened this issue Dec 21, 2024 · 0 comments · May be fixed by #6528
Open

Bug report: Unable to use system-managed identity #6527

milanholemans opened this issue Dec 21, 2024 · 0 comments · May be fixed by #6528

Comments

@milanholemans
Copy link
Contributor

Priority

(Low) Something is a little off

Description

I wanted to use CLI for Microsoft 365 in an Azure Function using a system-managed identity.
When I want to log in, I'm getting an error that appId is required.

Steps to reproduce

Run the following command on a resource where system managed identity is enabled:

m365 login --authType identity

Expected results

Login successful

Actual results

{"error":"appId: appId is required. TIP: use the \"m365 setup\" command to configure the default appId"}

Diagnostics

No response

CLI for Microsoft 365 version

v10.1.0

nodejs version

v20.9.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant