Azure analytics in PowerBI - azure-devops

I tried to get data from Azure analytics into PowerBI. So I selected Azure DevOps Server(Boards Only), connected to the server, but when trying to select the data, PowerBI gives the following message error:
The following project does not exist.
I made sure that the collection URL and Team Project are correct. The connection to the server established fine and I can see all the project from the given location. Just when clicking on a specific project I get the error above.
Do you have an idea of what the cause might be ?

You can check if the Personal Access Token used to connect to the azure devops sever have the access permission. If the Personal access token generated from a user account who doesnot have the access permission to that project. The project will not be able to accessed from PowerBi
If it is because of the lack of permission, you need to get someone who can access to that project to generate a new Personnal Access Token for you.
You can also have the project administrator of that Project to add the user (from whom the original Personal access token was generated) to the project.

Related

Can we restore the deleted applications in Azure Active Directory from Graph API?

I'm finding a way to restore my deleted application in Azure Active Directory from Graph API.
In the Portal, I can see my deleted applications here:
Deleted Applications
Using Powershell, I found this command to get that list:
Get-AzureADDeletedApplication
In a similar way, is there any query to get those deleted applications listed from Graph API? Will it include deleted Enterprise Apps list too?
I'm unable to find the command for getting the list of deleted Enterprise Applications list from both PowerShell and Portal. Where can I see deleted Enterprise Apps in Azure Portal?
After getting the list, I want to restore one application. Is this possible? Can anyone help me out with the lost part?
I tried to reproduce the same in my environment via Graph Explorer and got the below results:
I have deleted applications in my Azure Portal like below:
To get list of those deleted applications via Graph API, I ran the below query:
GET https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.application?$select=appid,deletedDateTime,displayName
Response:
To restore a specific deleted application like SriApp, I passed its object-id in the below query:
POST https://graph.microsoft.com/v1.0/directory/deletedItems/<app_objectId>/restore
Response:
Will it include deleted Enterprise Apps list too?
No, it won't include deleted Enterprise Apps list. You need to run separate query for it. Please note that, Enterprise Apps are a list of service principals.
Where can I see deleted Enterprise Apps in Azure Portal?
You cannot find deleted Enterprise Apps in Azure Portal. Alternatively, you can make use of PowerShell or Microsoft Graph.
To get the list of deleted service principals, you can run below Graph query:
GET https://graph.microsoft.com/v1.0/directory/deletedItems/microsoft.graph.serviceprincipal?$select=appid,deletedDateTime,displayName
Response:
To restore a specific deleted service principal, you can run same query by replacing <object-id> with service principal object-id like below:
POST https://graph.microsoft.com/v1.0/directory/deletedItems/<service_principal_objectId>/restore
Make sure to restore App Registration first before restoring service principal. Otherwise, you will get error like below:
If that App registration is deleted permanently, you no longer can restore the service principal associated with it.
Reference:
Restore deleted enterprise application | Microsoft Docs

GitHub Azure Synapse Access issue: You don't have permission to import resource to the repository, please resolve the permissions in GitHub

When I attempt to connect to GitHub repository from Azure Data Factory I have no problem. However, when I try to connet to GitHub from Synapse, see image, I get the error:
You don't have permission to import resource to the repository, please
resolve the permissions in GitHub
I'm not sure why I'm not getting the same permissions error message ADF
Just so you know I have the following permissions configured for Synapse, but it I'm still getting the error:
I connected the GitHub repository from Azure Synapse and Azure Data factory it’s working fine for me.
If you have an Existing resource to the repository in GitHub mentioned in import branch, otherwise make sure to unmark it. Because of that, you are getting the error as seen in the above image.
If you have already connected to GitHub and only granted permission to access a personal account, follow the below steps to grant permissions to an organization
Go to GitHub and open Settings -> Select Applications. In the Authorized OAuth apps tab, you should see Azure Synapse > Select the Azure Synapse and grant the access to your organization
Reference:
https://learn.microsoft.com/en-gb/azure/data-factory/source-control#author-with-github-integration

DevOps Organisation Not Appears in My Account

My Account(AAD) is Linked with 2 DevOps Organisation(personal organization & Business orgnaization)
I am unable to view Business orgnaization on DevOps Profile but able view personal organization.
I am able to access both via Url https://dev.azure.com/xxxCloud/.
I can't able to Connect DevOps Business Organisation with Visual Studio also.
Please try the following steps:
Please enter aka.ms/vssignout in browser and login to aka.ms/vsprofile again to see if the issue still exists.
If your organizations are in different AADs, please select the right directory in the dropdown list.
Please use other PCs to sign in and check if it works.
If you sign in this organization, can you see the projects in it? Please click specific projects in Web UI, or add project name in organization URL to get access to it.
Please ask your AAD admin to remove your MSA account from Azure Active directory and re-add you again to check if the issue still exists.

Connect Power BI with azure DevOps on premise

We have TFS 2019 installed on premise, want to create PowerBI reports based on analytics Views that are already predefined in TFS. Selecting GetData in PowerBI yields a login screen with collection URL and Team Project. We entered TFS sever name in URL connection and the Team Project respectively, getting an error "invalid account". Prior to this PowerBI asked for Login, logged in with my microsoft user. Can u please advise how to connect Power BI to a TFS on premise, we didn't find helpful material searching for it on the internet. Thanks in advance.
Can u please advise how to connect Power BI to a TFS on premise, we
didn't find helpful material searching for it on the internet.
Assuming you have Power BI Desktop in MachineA. Now you need to make sure:
1.The Azure Devops Server is running and you can login the web portal of Azure Devops Server(once called TFS) in MachineA's browser:
2.The Analytics View option is enabled and you have access to view/edit them:
3.In Power BI Desktop: For on-premise Azure Devops Server, the Collection Url shoule be the team collection url instead of simple ServerName or OrgName:
The Team Project name is one of your project name. For me I have Project ForTest in organization Test. And my full url of the project is: http://xxx/Test/ForTest/. So I enter http://xxx/Test/ for Collection Url and ForTest(simple name of team project !!) for Team Project, then it works well to connect to the server:
Ps: I use Azure Devops Server 2019 Update1(1.1) and latest Power BI Desktop downloaded from Microsoft Store.
Hope my steps make some help for you :)
When the login window appears which asking for Account Name to connect TFS, you need to write only name of the account (beginning name of visualtstudio.com) and write specific project name or * if you want to get data for all existing projects.
Eventually what worked was full URL of the collection in the first field and name of team proejct in the second field.

VSTS Adding Users from Azure Active Directory

When attempting to add users to VSTS who exist in the connected Azure Active Directory, I am getting a message stating "You are inviting users from outside your directory". I have checked the setting page and it shows that VSTS is backed by the correct Azure Active Directory. Why would the users in AAD not come up as available users in VSTS? Thanks for your help.
Had to open a ticket with Microsoft to address this issue - even though VSTS was showing that it was linked to the correct AAD, we recently changed our domain for AAD and there are additional changes that MS has to make to ensure the linking is functional.