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 the authentcationType enums values #1600

Merged

Conversation

yilmaznaslan
Copy link
Contributor

Checklist

Reference/Link to the issue solved with this PR (if any)

Importing devices from blob to iothub fails if the Authentication.Type is SELF_SIGNED

Description of the problem

AuthenticationType enum values doesn't match the IoTHub Authentication type values. See the issue for more detial

Description of the solution

I changed the enum values to correct ones that match to Microsoft.Azure.Devices.Cloud.AuthenticationType

@drwill-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@yilmaznaslan
Copy link
Contributor Author

yilmaznaslan commented Sep 21, 2022

The same error message was also occurring for the CERTIFICATE_AUTHORITY enum. I also added a fix for that @drwill-ms

@drwill-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

…dk/iot/service/auth/AuthenticationType.java


add serializer for AuthenticationType.SAS

Co-authored-by: timtay-microsoft <timtay@microsoft.com>
@timtay-microsoft
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@timtay-microsoft timtay-microsoft merged commit 0c7744c into Azure:main Sep 22, 2022
@timtay-microsoft
Copy link
Member

Thanks for the fix, @yilmaznaslan!

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.

4 participants