question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: CreateRepo

See original GitHub issue

Describe the bug Cannot get past the CreateRepo action when creating a new project. I’m getting the error message - “Although you appear to have the correct authorization credentials, the microsoft organization has enabled OAuth App access restrictions, meaning that data access to third-parties is limited. For more information on these restrictions, including how to enable this app, visit https://docs.github.com/articles/restricting-access-to-your-organization-s-data/

Component (please tell us which flow or app you are experiencing issues with): Solution - Power Platform Github ALM Version - 1.0.0.63 Flow - CreateProject > CreateRepo

To Reproduce Steps to reproduce the behavior:

  1. Go to PowerOps canvas app
  2. Click on ‘+ New Project’
  3. Navigated to run history for CreateRepo
  4. See failed run

Expected behavior Able to create new repo using the microsoft/powerplatform-actionstemplate

Screenshots If applicable, add screenshots to help explain your problem. image

Additional context Prior to this there was an error about You need admin access to the organization before adding a repository to it., which was odd as the user clearly has owner access to the GitHub organisation. Same inputs as the screenshot.

I’ve created a Github personal access token and ran the New-GitHubRespositoryFromTemplate command using the PowerShellForGitHub module and that works - image

Not sure what I’m missing here. Thank you for your help.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bkl-taerimhancommented, Jan 27, 2021

@navin22 thank you for your reply. Yesterday I’ve forked the template git repo into our own organization repo and removed the third party access restrictions to test and that worked. I’ll point to poweralm/repotemplate instead for moving forward until there is resolution 😃

1reaction
navin22commented, Jan 27, 2021

@bkl-taerimhan this is happening because microsoft org is not allowing the “Microsoft Power Platform” oauth app access and third party access is restricted by default.

Until that’s workaround. You can use the poweralm/repotemplate as the template repository. In “Power Platform Github ALM” component you can edit the environment variable cat_TemplateRepoName current value to poweralm/repotemplate.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1002395 – use createrepo_c instead of createrepo
This is a mitigation for bug 968858. createrepo_c is a more efficient implementation (in terms of memory, CPU time, and wall time) of...
Read more >
createrepo fails with headerRead failed message
Since that failed, the rpm file listed above the error WAS NOT ... I'll mark this as a bug! as well as the...
Read more >
createrepo error I think
I am using RHEL5 and I did a createrepo -v --update /var/www/html/yum/base/5Server/x86_64/rhel-x86_64-server-5/getPackage/ and the output ...
Read more >
Bugs in package createrepo-c (version 0.17.3-2) in unstable
Debian Bug report logs: Bugs in package createrepo-c (version 0.17.3-2) in unstable. Maintainers for createrepo-c are Peter Pentchev <roam@debian.org>.
Read more >
Bugs : createrepo-c package : Ubuntu
There are currently no open bugs. Report a bug · Ask a question ... "createrepo-c" versions published in Ubuntu. Mantic (0.17.3-2): universe/misc
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found