
Hi @Luis Lerones,
I'm glad to hear you solve the problem ,if you have any issue about SharePoint, you are welcome to raise a ticket in this forum.
By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others." and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:
[SharePoint Online Add-in throwing AADSTS50011]
Issue Symptom:
Sharepoint Add-in return error message: The redirect URI 'https://[mycompanyname].sharepoint.com/_forms/default.aspx' specified in the request does not match the redirect URIs configured for the application '00000003-0000-0ff1-ce00-000000000000'.
Solution:
Use the following powershell script to fix the issue
Connect-AzureAD
$sharePointOnlineServicePrincipal = Get-AzureADServicePrincipal -Filter "appId eq '00000003-0000-0ff1-ce00-000000000000'"
$sharePointOnlineServicePrincipal.ReplyUrls.Add("https://.sharepoint.com/_forms/");
Set-AzureADServicePrincipal -ObjectId $sharePointOnlineServicePrincipal.ObjectId -ReplyUrls $sharePointOnlineServicePrincipal.ReplyUrls
You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!