Skip to content

Fixing devicelogin not working on a desktopless Linux device#5058

Merged
KoenZomers merged 2 commits intopnp:devfrom
KoenZomers:FixDeviceLoginOnLinux
Aug 20, 2025
Merged

Fixing devicelogin not working on a desktopless Linux device#5058
KoenZomers merged 2 commits intopnp:devfrom
KoenZomers:FixDeviceLoginOnLinux

Conversation

@KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Fixing devicelogin not working on a desktopless Linux device.

Before this patch, when trying -DeviceLogin on i.e. a Raspberry Pi using connect-pnponline contoso.sharepoint.com -clientid 76802fef-760b-4e70-9812-xxxxxx -DeviceLogin it would throw an error:

image

After this patch, it will work as expected:

image

@KoenZomers KoenZomers merged commit 13872aa into pnp:dev Aug 20, 2025
4 checks passed
@kasajian
Copy link

Can you guys release this? This is a pretty bad bug -- makes the tool useless under Linux without it. Thank you.

@KoenZomers
Copy link
Collaborator Author

@kasajian We would love to, but we are waiting for the .NET Foundation to release a code signing certificate to us, which will allow us to do a new signed release. This is unfortunately out of our control. You can use the nightly unsigned releases in the meantime, which do include this patch. I myself an using the nightly release using Docker on my headless Raspberry Pi devices where it's working fine like that.

@kasajian
Copy link

i had no idea i could access nightly. thank you.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants