Introducing G2.ai, the future of software buying.Try now
Produkt-Avatar-Bild

Microsoft Dynamics 365 Business Central

(889)4.0/5

31.0

Nps Score

Bereits Microsoft Dynamics 365 Business Central verwenden?

Alle Microsoft Dynamics 365 Business Central Diskussionen

# I want to code an authentication interface on Microsoft dynamic center I did all the linking steps between microsoft azure and microsoft dynamic. I found this code, I assumed that this function is the desired function. but when i ran the code it gave me an empty token. I don't know where the fault is! please help me the code: page 50148 "testaccestoken" { PageType = Card; ApplicationArea = All; UsageCategory = Administration; layout { area(Content) { group(GroupName) { field(UserEmail; UserEmail) { ApplicationArea = All; } field(PWD; PWD) { ApplicationArea = All; } field(AccessToken; AccessToken) { ApplicationArea = All; } } } } actions { area(Processing) { action(Token) { ApplicationArea = All; Image = TestFile; trigger OnAction() begin AadTenantId := '******'; Client_Id := '*****'; UserEmail := 'Salma.bouzeida@vaganet.fr'; pwd := '*****'; ResourceURL := 'https://api.businesscentral.dynamics.com/'; // //Environment := authTable.Environment; // OAuth2.GetDefaultRedirectURL(RedirectURL); ClientSecret := '******'; // ** DEFAULT VALUES - redirect and RedirectURL := 'https://businesscentral.dynamics.com/OAuthLanding.htm'; // Client_Id := '*******';// powershell ID default MicrosoftOAuth2Url := 'https://login.microsoftonline.com/ec61defb-c499-4bae-afbe-e96c06b43964/oauth2/v2.0/authorize'; //TOKEN //OAuthAdminConsentUrl := 'https://login.microsoftonline.com/common/adminconsent'; Scopes.Add('api://******/user_impersonation'); OAuth2.AcquireTokensWithUserCredentials(MicrosoftOAuth2Url, Client_Id, Scopes, UserEmail, pwd, AccessToken, idToken); //Oauth2.AcquireTokenWithClientCredentials(Client_Id, ClientSecret, MicrosoftOAuth2Url, RedirectURL, ResourceURL, AccessToken); Message(AccessToken); end; } } } var ClientSecret: Text; RedirectURL: text; MicrosoftOAuth2Url: text; OAuthAdminConsentUrl: text; Scopes: List of [Text]; ResourceURL: Text; Client_Id: text; UserEmail: text; AccessToken: text; idToken: text; AadTenantId: Text; Oauth2: Codeunit OAuth2; OAuth2Authorization: Codeunit "OAuth 2.0 Mgt."; PWD: Text; } ##### Post Metadata
- Posted at: vor über 3 Jahre
- Net upvotes: 1
# I want to code an authentication interface on Microsoft dynamic center I did all the linking steps between microsoft azure and microsoft dynamic. I found this code, I assumed that this function is the desired function. but when i ran the code it gave me an empty token. I don't know where the fault is! please help me ##### Post Metadata
- Posted at: vor über 3 Jahre
- Net upvotes: 1
# How do we make the Reversing feature with Analytical Accounting work? HOw to fix AA balances in Management Reporter? AA has been our main issue. One of them is when we use the Reversing feature in GP. The original entry works with the AA code posting but if you make it a reversing entry, the reversing entry drops the AA code even though it is a requirement. The company that sold us GP can't help much. For Management Reporter, we always have issues with AA balances on our reports most esp with balance sheet accounts. The company that sold us this reporting tool can't seem to help us. ##### Post Metadata
- Posted at: vor über 4 Jahre
- Net upvotes: 1
# How to get it sync with Pardot? Can you please help me on how can I sync a Microsoft Dynamics account with Pardot? ##### Post Metadata
- Posted at: vor fast 5 Jahre
- Net upvotes: 1
# Gibt es eine einfache Möglichkeit, den Jahresabschluss reibungsloser zu gestalten? ##### Post Metadata
- Posted at: vor etwa 5 Jahre - Author title: Payroll Specialist at Inter Valley Health Plan
- Net upvotes: 1
# Was bewirkt die Clearing-Option im Finanzmodul von GP? ? ##### Post Metadata
- Posted at: vor über 5 Jahre - Author title: Professional poker player/ User software tester
- Net upvotes: 1
# Gibt es Pläne, Dynamics auszubauen, um mit Salesforce zu konkurrieren? ? ##### Post Metadata
- Posted at: vor etwa 6 Jahre - Author title: Operations Associate at FourKites, Inc.
- Net upvotes: 1
# Ja, es ist leicht zugänglich und hat viele Buchhaltungsfunktionen. ? ##### Post Metadata
- Posted at: vor fast 5 Jahre - Author title: Accountant at KN gandhi & co

Starten Sie eine neue Software-Diskussion

Haben Sie eine Softwarefrage?

Erhalten Sie Antworten von echten Nutzern und Experten

Diskussion starten

Produkt-Avatar-Bild

Haben sie Microsoft Dynamics 365 Business Central schon einmal verwendet?

Beantworten Sie einige Fragen, um der Microsoft Dynamics 365 Business Central-Community zu helfen

Ja
Ja

Top-Mitwirkende in Microsoft Dynamics 365 Business Central

1
Charles A.
CA

Charles A.

Senior Managing Consultant

2 Punkte
2
selma b.
SB

selma b.

PFE

2 Punkte
3
F. Ozgur T.
FT

F. Ozgur T.

Operations and Projects Senior Manager

1 Punkt
4
Bryan P.
BP

Bryan P.

Operations Associate

1 Punkt
5
VENKATESAN J.
VJ

VENKATESAN J.

Senior Solutions Architect

1 Punkt