-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
altpgen dataverse authentication failure in al 14.0.1161190 #7869
Comments
Check this URL and add http://localhost, |
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.com<https://xxxx-test.crm4.dynamics.com/>"
-entities:msdyn_workorder
-tabletype:CDS
-baseid:50055
-clientid:""
-redirecturi:"http://localhost"
Get Outlook for Android<https://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 GitHub<#7869 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJXAKRT3MHSPVT67THFURRTZ47DOPAVCNFSM6AAAAABPZCJPNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZSG42TQNRWGI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Thank you. That worked great for me. |
Thanks that works indeed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:msdyn_workorder
-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:
The text was updated successfully, but these errors were encountered: