Тёмный

ELI5 How to Access Business Central Web Services/API with Oauth 

Erik Hougaard
Подписаться 10 тыс.
Просмотров 14 тыс.
50% 1

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

 

19 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@eduschimu
@eduschimu Год назад
Erik, the explanation with Themepark and Rollercoaster is a very good metaphor. Thanks also for the in code explanation. Very clear.
@argusauge62
@argusauge62 Год назад
I *LOVE* the comparison with Tivoli, Rollercoaster! Finally I understood why we need such a hell lot of fancy keys. Good Job!
@sarapngsinigang5129
@sarapngsinigang5129 11 месяцев назад
One of the best explanations and how to videos regarding oauth setup and consumption. Thanks Erick!
@winifix
@winifix Год назад
Thank you very much for translating Microsofts non-english instructions into plain simple examples that work!!!
@myvisionITmanagement
@myvisionITmanagement Год назад
Erik, excellent! I like comparisons like this! Now I understand.
@anada1124
@anada1124 2 года назад
Great tutorial! Perfect timing soon after BC20 no longer accepts basic authentication.
@Hougaard
@Hougaard 2 года назад
Thanks, and yes, I have created several OAuth videos to help people transition from Basic to OAuth authentication.
@anada1124
@anada1124 2 года назад
@@Hougaard Using a theme park to explain OAuth2 is a very good idea. It might be even better if you also refer to Disneyland :)
@pain-free-it
@pain-free-it Год назад
I was a little bit uncertain about the rollercoaster and theme park analogy at first but by the end I was fully invested! I could taste the candy floss! Also cool vintage computers in the background, I had 2 of those and other vintage stuff not in that collection... ICL OPD?
@ghazalehghandchi1621
@ghazalehghandchi1621 7 дней назад
Super, very good explanation and easy to use ! Thanks
@JerMs2701
@JerMs2701 2 года назад
Thanks a lot for your explanation. It's pretty complicated but now it became more-less understandable.
@brettmazz2607
@brettmazz2607 10 месяцев назад
This video was amazing really helped to get my feet wet. Do you have any videos where you modify fa with a web service using Oauth?
@kunalnba
@kunalnba Год назад
Wow! what a nightmare dude! This is really helpful; hope performance is good having to do all this stuff! We have a few heavy integrations we need to migrate to BC SaaS
@klauskaan6320
@klauskaan6320 2 года назад
Best ELI5 for OAuth2 anywhere!
@lamakhaled1904
@lamakhaled1904 4 месяца назад
Thank you very useful explanation, how I can do that not on C# but with AL ?!
@StevenGER92
@StevenGER92 Год назад
Thanks for this great explanation. Helps me a lot for more understanding
@walterxfiles
@walterxfiles 9 месяцев назад
Thank you thank you very much, a good explanation, greetings from El Salvador, new follower my friend
@user-sg6qb3vo6k
@user-sg6qb3vo6k Год назад
Top video, very good explanation and easy to use code!
@mrdimba
@mrdimba 2 года назад
Your videos are very informative. Can you make a video for creating and updating data in business central using C#
@pierpaolopirovano
@pierpaolopirovano 2 года назад
Thanks a lot for your tutorial! You saved my application to stop working on 10-01 (I missed the right scope), but.... I have all working (in php) but... without add the app id in business central Azure Active Directory... why?
@henrikfrederiksen5863
@henrikfrederiksen5863 2 года назад
So SUPER! I’ll go make my theme park now❤️
@MladenMakreev
@MladenMakreev 11 месяцев назад
Hey Erik, Thanks for the great video! Is it possible to create the Application User in Business central with an API call and not manually like you did it in the video?
@Hougaard
@Hougaard 11 месяцев назад
But then you'll need permission to perform that API call, isn't that an endless circle now?
@MladenMakreev
@MladenMakreev 11 месяцев назад
@@Hougaard The idea being: Log in as an admin user trough azure to business central (only once to perform the add) -> add the application user in business central trough an API call so later that application user can be used to query the data in business central. I could not find any API documentation in the Microsoft documentation for adding an Application User like the one you create in the video. Could you also point me to that?
@TheJolyonSpencer
@TheJolyonSpencer Год назад
Thank you for posting. Very good sample.
@m-cos
@m-cos 8 месяцев назад
Excellent explanation as always, thanks again Erik! Thankfully even though Azure Active Directory Applications appears to have been renamed to Microsoft Entra Applications, typing 'aad' into the search like you did in the video still pulls it up. I tried 'azure' first and didn't find it.
@Hougaard
@Hougaard 8 месяцев назад
Yeah, "Entra" is now the thing :)
@mohdanas2846
@mohdanas2846 Год назад
I am trying same but keep getting bad request for custom pages and its working for standard page.. is i am missing something i need help please
@suzanachristie138
@suzanachristie138 Год назад
Hi, it is a great post. I would just like to know, how I can receive the resault without datameta or save it as csv file. Any suggestions and help would be appriciated.
@ramonmurillo167
@ramonmurillo167 3 месяца назад
Thank you very much for your video. Has Microsoft changed the location of Business Central Dynamics 365 for the Azure Active Directory page? I cannot get the page to load anymore
@Hougaard
@Hougaard 3 месяца назад
called Entra apps now
@ramonmurillo167
@ramonmurillo167 3 месяца назад
@@Hougaard Thank you.
@marcograsselli3019
@marcograsselli3019 Год назад
With this API, I'm able to create a Get Request? We want to download some data from BC, without using dataverse, is it possible?
@Hougaard
@Hougaard Год назад
Yes, what platform do you use?
@stevendesilets9796
@stevendesilets9796 Год назад
Great explanation Thank you so much!
@ivanzaliscky3143
@ivanzaliscky3143 Год назад
Hi Erik, please suggest how to form URL (in your code it named URL2) From which parts it consists and where to get these parameters ?
@Hougaard
@Hougaard Год назад
learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/endpoints-apis-for-dynamics
@ivanzaliscky3143
@ivanzaliscky3143 Год назад
@@Hougaard Thank you for the response
@kennethquesada7692
@kennethquesada7692 2 года назад
Hi Erick thanks again, is there son Inser/Post example?? regards.
@yukuocheng
@yukuocheng Год назад
Thank you for this video! It helps a lot!
@soulfulIEM
@soulfulIEM 2 года назад
Erik, thanks a lot for ELI5 explanation going into OAuth 2.0. I'm wondering how and if it's possible to change Bearer's token lifetime.
@Hougaard
@Hougaard 2 года назад
No.
@youneselhamss2908
@youneselhamss2908 Год назад
Fed video, kan man gøre det uden at kode? Hvis ikke, hvor er det så du koder og hvordan connecter ide'et til det hele? Kan jeg gøre det i vscode fx?
@Hougaard
@Hougaard Год назад
Hvor vil du bruge APIer fra?
@youneselhamss2908
@youneselhamss2908 Год назад
@@Hougaard jeg ville bruge postman og jeg har fundet ud af det💪🏽🙌🏽
@farheen1912
@farheen1912 2 года назад
Sir I am facing a problem. I need to call 3 API on same page . I am successfully able to read first API then getting Bad request for second and third API. I tried creating new token for each API but still same error.
@Hougaard
@Hougaard 2 года назад
Then the bad request is probably your content or query string
@farheen1912
@farheen1912 2 года назад
@@Hougaard I found the issue. its that I was missing SUPER (Data) Permission. For Standard Pages it was working fine without SUPER (Data), but for custom pages it is required.
@farheen1912
@farheen1912 2 года назад
what can be other reasons that giving bad request error
@realeques
@realeques 2 года назад
very interesting.
@mohammadnouritani
@mohammadnouritani 2 года назад
It is super helpful , and if you know how to connect to business central on oauth with react or javascript that would be helpful with token login from Microsoft generation
@Hougaard
@Hougaard 2 года назад
You should be able to take the c# example and just translate that to regular javascript
@aymanmakhoukhi3591
@aymanmakhoukhi3591 2 года назад
@@Hougaard Thank you so much for this tutorial, it's highly appreciated. I would love to ask you how can I use AL codeunit to consume a third party rest api and generate access token to be used on the bearer
@wintonwang168
@wintonwang168 2 года назад
how can you update item properties ( Ex, update company customer's display name or phone number )
@Hougaard
@Hougaard 2 года назад
From an API, muse the PATCH http method.
@wintonwang168
@wintonwang168 2 года назад
@@Hougaard try to update purchaseInvoices, using client.PatchAsync(URL2, Content), the error message return BadRequest or MethodNotAllowed .
@wintonwang168
@wintonwang168 2 года назад
{ "error": { "code": "BadRequest_InvalidToken", "message": "Could not validate the client concurrency token required by the service. Please provide a valid token in the client request. CorrelationId: 0ad47bd7-12d7-48ac-baba-7b1b716e27b6." } }
@wintonwang168
@wintonwang168 2 года назад
In order to update field, tip Headers key: "If-Match" Value: "*"
@ДенисГапонов-и3э
@ДенисГапонов-и3э 2 года назад
why c# and not AL?
@Hougaard
@Hougaard 2 года назад
Seems to be a better example...
Далее
ELI5 Create a new table in Business Central with AL
45:34
⚡ #RodrygoGoes ✖️ #Mbappé ⚽ #UCL
00:11
Просмотров 601 тыс.
Coding a Web Server in 25 Lines - Computerphile
17:49
Просмотров 336 тыс.
What's new: Web services in Business Central
14:00
Просмотров 1,9 тыс.
Difference between cookies, session and tokens
11:53
Просмотров 629 тыс.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
⚡ #RodrygoGoes ✖️ #Mbappé ⚽ #UCL
00:11
Просмотров 601 тыс.