Тёмный

Dynamics 365 Web API Authentication C# | Dynamics 365 Web API Create Record c# 

Abhishek Dhoriya (Dynamix Academy)
Подписаться 8 тыс.
Просмотров 16 тыс.
50% 1

Опубликовано:

 

15 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@vijil2843
@vijil2843 3 года назад
Fir me today I tried. When I debug line by line CreatefromResourseURlAysc is calling but not return results.
@alexanderyurpolsky451
@alexanderyurpolsky451 3 года назад
So we developed to one of our customers an external web page developed on C sharp this page is hosed on external server. This page retrieve some data from dynamics 365 and it's pop up on a button that we developed on one of the entities. Now the problem is that this web page is accessible for any user around the web and we need to secure this page that only users from dynamics 365 from that specific organization will be able to see this page, Any idea how can we do it? Can we require from a user to log into his Office 365 account on page load?
@Abhishek-Dhoriya
@Abhishek-Dhoriya 3 года назад
Thanks, Alexander for posting an interesting query, much appreciated. What is see where your problem is the same as adding Microsoft office authentication for any website be it SPA (which is the case for you) or any other multipage web application? Correct me if required. You can refer to below Microsoft Doc for theoretical solution ' docs.microsoft.com/en-us/office/dev/add-ins/develop/overview-authn-authz And you can use any one of the suggested solutions. Hope this would help you !!! Let me know if more details are needed. All the best and keep posting such informative questions and share your feedback that helps me imporve👍🙂
@vanceduser2339
@vanceduser2339 3 года назад
Can we get the source of the demo you have used here ? I am starting on the webapj part and it will be really helpful
@sathishbabu2350
@sathishbabu2350 4 года назад
Nice explanation sir! could you also do a session to authorize & authenticate using Application user(clientId and Secret). Not using username and password.
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
Sure Sathish, Thanks for your valuable suggestion, we will definitely make a session on this topic.. Please keep sharing such feedback and queries.
@johnphipa
@johnphipa 4 года назад
Why do you use HttpClient Post request to create the contact instead of the service.create method?
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
Hi Phil, since this video was on Dynamics 365 API hence we did not used the Dynamics 365 SDK. So you might be aware that for web api you need to use the HTTP methods.
@AvdhutVaidya84
@AvdhutVaidya84 4 года назад
from business scenario point of view, when should i use this way and when should i use the other way you have shown to connect to an organization? by other way i mean when we give reference to CRMsdk.CoreAssemblies
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
Thanks Awdhut, Really nice to see your queries, i have already answerd this on other video but still putting the same here. Please let us know if you need more info on the same and at the same time keep posting such nice queries that helps us in pushing our selves as well as for our audience as a whole. However, there is no Official Recommendation or Guidelines for Going with either type of connection. Both ways you would be able to connect to Dynamics 365 Instances. But generally, the Regular Plain method of connection is used when you want to manipulate the D365 Data through some batch jobs, Scheduled tasks through code. While Web API way of connecting is used when you want to consume CRMS data from any other third party system through integration or when you want to perform CRUD operation thought Client-Side scripting. Hope you got some fair idea about the general trend. And one more thing you need to keep in mind in terms of difference is the way you manipulate the data after connecting, since though Web Api you need to use get ,post, patch etc... the typical HTTP methods for performing CRUD operation while in case of regular CRM Connection class you have to use the Dynamics CRM / 365 Standard IORGANIZATION Service object methods like Create, Retrieve, Update, Delete etc...
@AvdhutVaidya84
@AvdhutVaidya84 4 года назад
thank you for your elaboration, i understand in it that either of these are not a performance best practice and i can use the former or later as what my project or i prefer 👍
@tahirraza1732
@tahirraza1732 4 года назад
Thanks for the tutorial. Please make a tutorial on How to create a record with file attribute.
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
Thanks for the idea! Will do Soon
@tahirraza1732
@tahirraza1732 4 года назад
@@Abhishek-Dhoriya I did it already. Will wait for your tutorial
@pavankumarpatil3130
@pavankumarpatil3130 3 года назад
Nice explanation sir! Could you also do a session on when to use which Microsoft dynamics CRM Service with some demo? Can you please share the source of the demo that you have used in this video?
@kamranafzal5303
@kamranafzal5303 3 года назад
Nice video!!! I am new to dynamics My question is does we have to follow each step for on-premis as well or there is change working with on-premise. My concerns are the things you done on portal, like creating app and other stuff. How can I get client ID for on-premise and what other things I have to do for on-premise. Waiting for your reply eagerly. Thanks
@harshasreereddy6435
@harshasreereddy6435 2 года назад
Thank you for the Video. Wanted to know is this code compatible to latest online version?(I am getting errors in some places Line29,30). Interested to know D365 Sales and F&O integration.
@muhammadimtiaz2712
@muhammadimtiaz2712 3 года назад
hi, i am getting an error in response object ->"Internal Server Error' ", would you tell me that what is the reason behind that issue
@sahupritam09
@sahupritam09 4 года назад
I have created the trail Microsoft Dynamic 365 account . But while i move to azure.portal account .Grant admin consent option is disable in . i think i don't have administrator permission in Azure portal . Could you please let me know how to get admin rights to azure portal.
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
Nice question Pritam, Please check your office 365 admin portal and verify if you are the Global Admin for this instance, if not either make your current user as global admin or login with existing global admin account. Hope this would help
@vaibhavsingh594
@vaibhavsingh594 4 года назад
Thanks sir.... Next topic early and late binding Sir one thing more like if we have business and we have disabled some of them. Now the teams associated with these bu's will remain in the system. Now the scenario is that we have applied field security profiles for some fields on the oppo form. The security profile is applied for the teams for the business units are deactivated now. So what will be the impact on these secured fields?
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
thanks, Vaibhav, we will keep your suggestion as a top priority. With regards to your scenario, however by disabling the BU's it won't disable the teams in System. From impact point of view what are you facing right now, ideally users of BU you have to move it to other BU before disabling them and teams i dont see much impact due to this on Field security
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
Please let me know what are you facing right now to discuss more on this
@vaibhavsingh594
@vaibhavsingh594 4 года назад
Sir thanks for the reply. Got your point on disabling the bu, there is no effect on the default teams created for these bu's. Actually sir the scenario was that we had done business unit restructuring for our organization but we hadnt updated teams that are mentioned for our secured fields. Now i got it sir, we need to update the teams as well as inorder to have the field security profile functionally to work again
@rahulbiswas9940
@rahulbiswas9940 3 года назад
Sir, I have been allocated Dynamics 365 CE technology in an IT company, does it have scope of good growth??
@Abhishek-Dhoriya
@Abhishek-Dhoriya 3 года назад
Yes Rahul, it is excellent for your career and growth as well.
@onlinemoneymakingideas7394
@onlinemoneymakingideas7394 3 года назад
Can we consume WebAPI service in PowerAutomate HTTP connector?
@bhargavbennalli
@bhargavbennalli 3 года назад
Can u plz create a demo project structure with some project.. and include all the concepts in that by extending same thing..
@yogeshmulay1410
@yogeshmulay1410 4 года назад
nice video. pls reduce background music which is disturbance.
@Abhishek-Dhoriya
@Abhishek-Dhoriya 4 года назад
Noted, thanks for the awesome feedback. we will work on this. Please do share such comments in future as well.
@pavankumar3574
@pavankumar3574 3 года назад
Hi . How we deploy the console application to end-user ?? Can you guide me... ?
@Abhishek-Dhoriya
@Abhishek-Dhoriya 3 года назад
Simply Build the Console and Keep the BIN Folder to the end user where they will click the .exe file
@shivaprasad6576
@shivaprasad6576 9 месяцев назад
For upcoming videos, please don't add background music.
@Abhishek-Dhoriya
@Abhishek-Dhoriya 3 месяца назад
Sure, thank you we heard you 👍
@sunisury
@sunisury 3 года назад
nice Video! can you also make video on query or get operations and retrieving values from D365? single and multiple?
@Abhishek-Dhoriya
@Abhishek-Dhoriya 3 года назад
Yes, sure, So nice of you, Keep watching , thanks for your feedback.
@sheharyarkehar8418
@sheharyarkehar8418 3 года назад
i love u man
@Abhishek-Dhoriya
@Abhishek-Dhoriya 3 года назад
Thanks for your feedback.
@sheharyarkehar8418
@sheharyarkehar8418 3 года назад
@@Abhishek-Dhoriya Can you please provide the solution for retrieving data from related entities i.e (sub-grid) using the same OAuth 2.0 and http client request??
@mohitmishra962
@mohitmishra962 3 года назад
SIr, can you make a video on how to do different Testing of D365
@subanandhiniswaminathan9133
@subanandhiniswaminathan9133 2 года назад
Could you please share a video of how to create web api using power apps?
@TomtemAzong
@TomtemAzong 3 года назад
Microsoft Teams
@joaodasilva2175
@joaodasilva2175 3 года назад
What is "Visual C# language"? ;-)
@Abhishek-Dhoriya
@Abhishek-Dhoriya 3 года назад
Hi @Joao, it is similar to C# is a general-purpose, multi-paradigm programming language that comes with Visual Studio template. However, if you know C# then it would not make much difference to you.🙂
@joaodasilva2175
@joaodasilva2175 3 года назад
@@Abhishek-Dhoriya Yeah, I know, I was just being sarcastic ;-) Thanks for the tutorial btw.
@testtest6486
@testtest6486 3 года назад
dynamics 365 web api update /delete record c# please
Далее
Power Apps CRM vs. Dynamics 365 CRM Shoot-out!
37:27
Video: Microsoft Dynamics 365 CRM - Web Api
26:46
Просмотров 3,2 тыс.
OAuth Application Users in Dynamics 365
9:45
Просмотров 40 тыс.