Open BeytullahCengiz88 opened 2 weeks ago
Check this URL and add http://localhost, https://github.com/MicrosoftDocs/azure-docs/issues/61446
Check this URL and add http://localhost, MicrosoftDocs/azure-docs#61446
The adding of localhost was already made but it delivers no solution
I have the same error.
Does anyone have a solution?
The redirect url of localhost should be in you script also. packagecachepath:"C:\Users\Customizations.alpackages" -serviceuri:"https://xxxx-test.crm4.dynamics.comhttps://xxxx-test.crm4.dynamics.com/" -entities:msdyn_workorder -tabletype:CDS -baseid:50055 -clientid:"" -redirecturi:"http://localhost"
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Michael Scott @.> Sent: Wednesday, October 23, 2024 9:44:31 PM To: microsoft/AL @.> Cc: manisharma31 @.>; Comment @.> Subject: Re: [microsoft/AL] altpgen dataverse authentication failure in al 14.0.1161190 (Issue #7869)
I have the same error.
Does anyone have a solution?
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/AL/issues/7869#issuecomment-2432758662, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJXAKRT3MHSPVT67THFURRTZ47DOPAVCNFSM6AAAAABPZCJPNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZSG42TQNRWGI. You are receiving this because you commented.Message ID: @.***>
Thank you. That worked great for me.
1. Describe the bug altpgen gives authentication failure during authenticating Dataverse. Reason: One or more errors occurred. (Only loopback redirect uri is supported,) in ms-dynamics-smb. al 14.0.1161190
2. To Reproduce When you run the following powershell script in altpgen.dll directory in ms-dynamics-smb. al 14.0.1161190 then you get this error. This is not throwing an error in earlyer versions.
_.\altpgen -project:"C:\Users\Documents\" -packagecachepath:"C:\Users\Customizations.alpackages" -serviceuri:"https://xxxx-test.crm4.dynamics.com" -entities:msdynworkorder -tabletype:CDS -baseid:50055 -clientid:"" -redirecturi:"xxxxxxxxxxxxxxxx://auth"
3. Expected behavior When you run this script, you get an 2FA login pop-up window for credentials.
4. Actual behavior It throws inmediately an error instead of authentication.
5. Versions: