Erik, the explanation with Themepark and Rollercoaster is a very good metaphor. Thanks also for the in code explanation. Very clear.
@sarapngsinigang5129 Жыл бұрын
One of the best explanations and how to videos regarding oauth setup and consumption. Thanks Erick!
@argusauge62 Жыл бұрын
I *LOVE* the comparison with Tivoli, Rollercoaster! Finally I understood why we need such a hell lot of fancy keys. Good Job!
@winifix Жыл бұрын
Thank you very much for translating Microsofts non-english instructions into plain simple examples that work!!!
@myvisionITmanagement Жыл бұрын
Erik, excellent! I like comparisons like this! Now I understand.
@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Ай бұрын
Super, very good explanation and easy to use ! Thanks
@anada11242 жыл бұрын
Great tutorial! Perfect timing soon after BC20 no longer accepts basic authentication.
@Hougaard2 жыл бұрын
Thanks, and yes, I have created several OAuth videos to help people transition from Basic to OAuth authentication.
@anada11242 жыл бұрын
@@Hougaard Using a theme park to explain OAuth2 is a very good idea. It might be even better if you also refer to Disneyland :)
@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
@brettmazz260711 ай бұрын
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?
@TheJolyonSpencer Жыл бұрын
Thank you for posting. Very good sample.
@StevenGER922 жыл бұрын
Thanks for this great explanation. Helps me a lot for more understanding
@klauskaan63202 жыл бұрын
Best ELI5 for OAuth2 anywhere!
@JerMs27012 жыл бұрын
Thanks a lot for your explanation. It's pretty complicated but now it became more-less understandable.
@IvanPololi-e3x Жыл бұрын
Top video, very good explanation and easy to use code!
@rishichourey11 күн бұрын
Thanks a lot Erik🤗
@walterxfiles11 ай бұрын
Thank you thank you very much, a good explanation, greetings from El Salvador, new follower my friend
@lamakhaled985 ай бұрын
Thank you very useful explanation, how I can do that not on C# but with AL ?!
@MladenMakreev Жыл бұрын
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 Жыл бұрын
But then you'll need permission to perform that API call, isn't that an endless circle now?
@MladenMakreev Жыл бұрын
@@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?
@yukuocheng2 жыл бұрын
Thank you for this video! It helps a lot!
@henrikfrederiksen58632 жыл бұрын
So SUPER! I’ll go make my theme park now❤️
@mrdimba2 жыл бұрын
Your videos are very informative. Can you make a video for creating and updating data in business central using C#
@stevendesilets97962 жыл бұрын
Great explanation Thank you so much!
@pierpaolopirovano2 жыл бұрын
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?
@m-cos10 ай бұрын
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.
@Hougaard10 ай бұрын
Yeah, "Entra" is now the thing :)
@ramonmurillo1675 ай бұрын
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
@Hougaard5 ай бұрын
called Entra apps now
@ramonmurillo1675 ай бұрын
@@Hougaard Thank you.
@suzanachristie1382 жыл бұрын
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.
@soulfulIEM2 жыл бұрын
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.
@Hougaard2 жыл бұрын
No.
@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
@kennethquesada76922 жыл бұрын
Hi Erick thanks again, is there son Inser/Post example?? regards.
@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 Жыл бұрын
Hvor vil du bruge APIer fra?
@youneselhamss2908 Жыл бұрын
@@Hougaard jeg ville bruge postman og jeg har fundet ud af det💪🏽🙌🏽
@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 ?
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?
@Hougaard2 жыл бұрын
Yes, what platform do you use?
@farheen19122 жыл бұрын
what can be other reasons that giving bad request error
@farheen19122 жыл бұрын
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.
@Hougaard2 жыл бұрын
Then the bad request is probably your content or query string
@farheen19122 жыл бұрын
@@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.
@realeques2 жыл бұрын
very interesting.
@mohammadnouritani2 жыл бұрын
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
@Hougaard2 жыл бұрын
You should be able to take the c# example and just translate that to regular javascript
@aymanmakhoukhi35912 жыл бұрын
@@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
@wintonwang1682 жыл бұрын
how can you update item properties ( Ex, update company customer's display name or phone number )
@Hougaard2 жыл бұрын
From an API, muse the PATCH http method.
@wintonwang1682 жыл бұрын
@@Hougaard try to update purchaseInvoices, using client.PatchAsync(URL2, Content), the error message return BadRequest or MethodNotAllowed .
@wintonwang1682 жыл бұрын
{ "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." } }
@wintonwang1682 жыл бұрын
In order to update field, tip Headers key: "If-Match" Value: "*"