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

fix: Export-AADIntLocalDeviceTransportKey make email optional #103

Closed
wants to merge 1 commit into from

Conversation

kidtronnix
Copy link

@kidtronnix kidtronnix commented Nov 22, 2024

Simple one line fix to make email argument optional on Export-AADIntLocalDeviceTransportKey.

For use case where a device is connected via a Managed Identity. Previously the function had an error due to the join info "email" being empty.

After checking my device and regedit.msc I realized I had the necessary private key and since my device was "Joined" the if branch in the function I would be using didn't require email.

Changed to make email optional and everything worked.

@NestoriSyynimaa
Copy link
Contributor

Can you please do a new PR at https://github.com/Gerenios/AADInternals-Endpoints?

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