cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Without Azure App registration can i send data to dataverse is possible?

Hi folks,

             Now i have inserting records to dataverse table using azure functions through azure ad -> app registration and with client key and secret key i will able to send request to dataverse but without having Azure App registration is there any way to insert my data into dataverse table?

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisPiasecki
Super User
Super User

Hi @charlesmichel77,

 

If you're using the Dataverse Service Client, there is a constructor overload that accepts a userID and password, but that is using the OAuth2 Resource Owner Password Credential (ROPC) grant, which is less secure than the other grant types and is generally not recommended except for legacy scenarios that can't use the more modern ways of authenticating.

 

Using an application registration with the client credential grant is the recommended way to authenticate from a non-interactive process like Azure functions. Is there a specific reason why you don't want to use this method?

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

View solution in original post

1 REPLY 1
ChrisPiasecki
Super User
Super User

Hi @charlesmichel77,

 

If you're using the Dataverse Service Client, there is a constructor overload that accepts a userID and password, but that is using the OAuth2 Resource Owner Password Credential (ROPC) grant, which is less secure than the other grant types and is generally not recommended except for legacy scenarios that can't use the more modern ways of authenticating.

 

Using an application registration with the client credential grant is the recommended way to authenticate from a non-interactive process like Azure functions. Is there a specific reason why you don't want to use this method?

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (4,430)