GitHub Enterprise Cloud Trial Account - github-api

I was trying to pull audit logs from git hub using Postman. I found the logs URL to pull data https://api.github.com/enterprises/Enterprise/audit-log/
But in GitHub I am not getting how to create enterprise trial account
i am not getting Your Enterprises Option below the Organisation

Related

Not able to use azure credit provided by github student developer pack

I logged into azure account with referral link provided by github student developer pack but when i try to access bash/powershell it shows You need an Azure subscription to use Azure cloud Shell. Also, credits are not shown in the overview tab.
I tried to claim credit provided by github student developer pack but it is not shown there.

How to use GitHub Enterprise account in Microsoft Azure?

I'm struggling to configure my Azure Web App.
I am here in Deployment Center, trying to authorize my GitHub Enterprise account:
The problem appears when I try to Authorize my account. It seems like Azure only supports Personal GitHub accounts. The Azure subscription itself is for Enterprise projects as well, yet I still can't add my GitHub. Is it even possible?

Databricks Repo with Azure DevOps - 400 Bad Request when trying to add repo

when trying to use the databricks Repo feature with AzureDevOps, I am not able to add a repo to my databricks workspace add repo and I am getting a Bad Request as Response error message.
Under User settings -> Git Integration -> Git Provider I have selected Azure Devops Services and in advanced settings Notebook Git Versioning is enabled.
I tried with a different browser, aswell as in private mode. In addition I tried to delete my cookies, but still got the same error. The integration to GitHub with a PAT works fine. I am also able to sync notebooks to the Azure DevOps repository, but the repo feature itself is not working.
I work in a corporate environment and we use single sign on with Azure Active Directory to authenticate to the Workspace. I really dont have an idea what causes the issue.
My only guess is that something AD authentification related is not set properly.
Sometimes when trying to access the workspace via the azure portal I receive the message that my account has no Contributer or Owner Role on the workspace role warning, which is strange since I am an admin in the Databricks workspace. After clicking on sign in with AzureAD I receive the warning: AADSTS90015: Requested query string is too long query string warning. However if I click back in the browser and click again on sign in with AzureID I am able to access the workspace.
The 400 Bad Request is an error from Azure DevOps. We would recommend you reach out to Azure DevOps support for help on this.
Regarding the role warning, this is related to your permissions on the workspace object in Azure Active Directory (rather than your admin permissions in the workspace) - the error message indicates that when we looked up your permissions in Azure, they didn't match those of either a contributor or owner on the workspace. However, if you are a contributor and see this error occasionally, that is unexpected behavior and we can surface this internally.
Check if your account that signed in Databricks has the correct permissions in the workspace on Azure Portal, and on Azure DevOps to access the Git repository.
You also can try to use the same account to sign in Azure DevOps to see if you can access the specified repository.
For more details, you can see "Azure Databricks - Repos for Git integration".

How to resolve no access in Azure Data Factory 2 to Azure DevOps Repository

I am facing an issue on Azure Data Factory when I try to access the Azure DevOps Git Repository that I configured. The error message is: "Invalid GIT configuration. You need to gain access to the repository before you can publish any changes. Details: Authentication error - you do not have access to the provided Azure DevOps account."
I am using the same account on both DevOps and Data Factory. My Azure portal access is "Contributor" at the subscription level and my DevOps role is Project Administrator on the project.
Regards,
Tania
I've tried various combinations of creating the repository as new from Data Factory as well as using an existing one created (by myself) in Azure DevOps.
From https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles in the Open Feedback items a user mentions that "the Build-in role Data Factory Contributor this is not in Allow part:
Action:Microsoft.DataFactory/locations/configureFactoryRepo/action"
I investigated the the contributor role and it appears to have the Action allowed as "Read" ?
ADF Repo Settings
ADF Repo Error
After the detailed message shared from #taniaw, this issue caused by the account confused.
Here has 2 accounts, A#abc.com, and A#efg.com.
When login to azure portal with A#abc.com, and configure the Azure Devops Git. It's all correct. Now, the issue is when go Azure Devops Git tab after the repos configured successfully, its access account used in the backend changed into A#efg.com. But this account does not has permission to access the organization and repos. That's why when click the Azure Devops Git tab, it is grey and receiving the error message "You do not access to the repository".
These detailed message can all be viewed by Fiddler. Everyone can use fiddler trace to know the exactly error caused then analyze it.
At last, the solution is this is the account mapping confused issue which need Azure Account Team support.
Verify the User configuration at Organization level:
The default is "Stakeholder" - it should be "Basic" actually.
Hope it is useful.
This issue was resolved today. The cause was a different Azure DevOps tenant where my account had been added as a guest had used an email account instead of my Azure AD account and this caused the confusion when passing credentials from Azure Data Factory to Azure DevOps. The issue was resolved by leaving the organization that had my user mis-configured as I'm no longer actively working on that project. A better solution may have been to have their Azure AD administrator update my guest account to the correct details.

Need Rest API to get the permission details from Azure Devops using PowerShell

I am looking for a Rest API url that will get me the detailed list of access for each user/group in each repositories from Azure Devops.
I have API URL that will return the repositories for each Project in Azure Devops, but my story is about validating the access for each user/group for each repositories on periodic basis with the help of Rest API.
Need Rest API which will return the access permission for each User/Group under the reposities from Azure DevOps.
Need Rest API to get the permission details from Azure Devops using PowerShell
For now, I am afraid there is no such Rest API to get git repo permissions for each User/Group.
You can check the similar thread for some details.
Note: The use voice site is not currently active. You could submit a new one to our main forum for product suggestions. Thank you for helping us build a better Azure DevOps:
https://developercommunity.visualstudio.com/content/idea/post.html?space=21
As test, I track it by press F12 in Chrome browser then select Network:
e.g. I could use below REST API to get group project collection build service accounts permission details for my team MyTestProject in below sample:
https://dev.azure.com/<OrganizationName>/f0a50df8-5a11-41c3-8d7e-22180f923c80/_api/_security/DisplayPermissions?__v=5&tfid=cb4ef03a-148d-49fc-9775-342fc3923737&permissionSetId=a39371cf-0841-4c16-bbd3-276e341bc052&permissionSetToken=%24%2FMyTestProject
But I could not debug this API to list the access permission for each User/Group under the reposities from Azure DevOps.
Hope this helps.

Resources