How do I choose which VSO account to install Application Insights to? - azure-devops

I own one VSO account, and am a member of multiple other accounts (in a single login). When I install Application Insights into a web project, I'm not given an option of which account to use, and it installs to the wrong account.

Changing projects in Application Insights is easy to do but hard to figure out unless you know the "trick." It's a two step process. First you need to grab three keys that are buried in the Application Insights portal, then you need to apply them to a file in your project.
To change your account or application just go to the AppInsights dashboard for the project you want to use and click the gear on the top right of the page (The URL is: <YourVSOnlinePortalName>.visualstudio.com/_appanalytics/_admin#application=<AppInsightsProjectName>), then click "Get configuration keys and downloads." This contains all the keys you need for the project. Copy the following three values:
Account ID (This is the ID of your Application Insights account.)
Primary instrumentation key (This identifies your data so others can't send false data to Application Insights.)
Windows Phone 8 SDK instrumentation key (near the bottom of the page). Use this key no matter what kind of app your project actually is. I.e., even if it's a Web page you will still need this value. (This is the ID for a specific application in your Application Insights account.)
Now that you have these three keys, go to your project in Visual Studio and open the ApplicationInsights.config file.
Paste the Account ID into the <AccountID> element, the LicenseKey into the <LicenseKey> element and the last value, the instrumentation key, into the <ComponentID> element.
Fire up your app and you should start seeing data from the correct project!

"Application Insights Tools for Visual Studio" 1.3.1 released 5/30/2014, allows you to select the VSO account...
I just upgraded it (from 1.3.0) and now it allows me to select which account to send insight data to.

Related

How to reset Azure DevOps connector in MS Teams

I was moved from one DevOps organisation to another and access to the old org was removed. This caused my MS Teams DevOps plugin to stop working in private chats, but was fine in team channels.
When I tried to open the app settings, I got a white window with a JSON that suggested a permission problem.
How do I connect the app to the new organisation?
Trying to open the app settings using the Teams webpage I got a popup that let me read the request URL and I saw the two GET parameters for organisation and project ID.
Removing those two parameters gave me a screen to select an organisation and a project. The tab closed right away and the integration is fixed.
I guess replacing the project_id and tfs_uri with the correct data from the target project would work, too, but that's the purpose of the section page, already.
Going to the app settings now yields this exact selection page, by the way, so this is a bug in the DevOps Teams app. There's one line of information at the top that apparently requires access to the DevOps organisation and needlessly gates the whole dialog behind organisation access permissions.

Azure Logic Apps - Failed with error: 'The browser is closed.'. Please sign in again

I have created an Azure Logic App in the Azure portal and successfully added several steps. I add the Azure DevOps List Iterations step and click the sign-in button. A popup prompts me to sign-in and then closes and I am left with the follow error in the Logic Apps designer:
Failed with error: 'The browser is closed.'. Please sign in again.
I have am recreating a workflow that I originally created using Microsoft Power Automate (Flow) so I know that my credentials should work.
Now when I hit the sign-in again I do not get the option to re-enter any credentials nor change accounts.
What fixed it for me was allowing 3rd party cookies:
In your browser settings, make sure that you allow all cookies (including 3rd party cookies: a lot of Microsoft webapps depend on that),
Refresh the Logic App page (might not be required, but it doesn't hurt),
Add a new connection and sign in.
You can then block 3rd party cookies again after this if you wish.
for me change browser from Chrome to MS Edge beta helped
For this problem, please check the resource group which your logic app belongs to. When you click the "Sign in" first time, it will generate a "API Connection" in the same resource group of you logic app. Its name should be like "visualstudioteamservices" (shown as below screenshot).
Please delete this api connection and then wait a few minutes(because there may be a delay in deleting operation). Then go back to your logic app and delete the DevOps List Iterations action, then create the DevOps List Iterations action again it will ask you for the sign in credential.
By the way, if your browser remember the last credential, it may still have some problem. Please delete the api connection and change to another browser to have a try.
Open an incognito/private window in your browser, then attempt to create the connection.
Just had the exact same issue, thought it had to do with my subscription being free trial.
But it logged in perfectly once I switched from Safari to Chrome (on a MacOS 11.2).
I had the same problem using Firefox to create a Logic App, solved by turning off Enhanced Tracking Protection for portal.azure.com

Can't find the organization ID at IBMCloud

I'm new at IBMCloud, I'm following a tutorial http://www.instructables.com/id/IoT-Weighing-Scale/ but after register an account, I don't see any organization ID. I've been checking all the options in the main panel but can't find those 6-digits ID.
I need that in order to register the device (Esp32) https://organization_ID.internetofthings.ibmcloud.com/dashboard/#/overview
I have a LITE account for Internet of Things Platform Starter
Edit:
When login in internetofthings.ibmcloud.com I see no organization registered:
when I click in Register, it takes me to the Bluemix panel.. nothing else.
The org id could be found accessing one of your devices details, it is the first Id in the list
When you're logged into Watson IoT Platform's UI in a browser, the 6 character orgId is visible in the URL.
For example, in the screenshot below the orgId is "hldtxx".
you need to first register to https://console.bluemix.net/ then from Catalog select Internet of Things service, deploy it. Then go to IBM Cloud dashboard, select the IoT Service, click on Launch button and you'll be taken to xxxxxx.internetofthings.ibmcloud.com
After signing in, on the top menubar, click "Manage" and select "Access (IAM)". Then, from the left navigation menu, click "Users". Toward the upper right, under "Account:" (see image below), hover your mouse over the 'i' symbol to locate the Account ID.

How to disable email notifications in bluemix devops services track & plan

Working with the 'Track & Plan' feature of the IBM Bluemix DevOps Services generates a lot of email notifications to my co-workers and me. For example, notifications are sent out for each work item creation, modification or assignment. As the number of such mails is overwhelming, I would like to deactivate them.
If I had full access to the underlying RTC instance I would go about this as outlined in the RTC Knowledge Center - Configuring notifications in the web client.
So far I haven't been able to find a comparable configuration page in the version hosted on DevOps Services. Also, the Bluemix DevOps Services Documentation (e.g. Track and plan) didn't yield any hints in that direction.
Is there a way to disable these notifications either completely or at least partly? If so, how?
You can disable email notifications by following the instructions here:
https://developer.ibm.com/answers/questions/185255/configuring-track-plan-email-notifications.html
Find your name on a full page workitem and click on it (could be in created by, subscribed, mentioned in a comment, ...)
You'll land in a page that has your profile and some license information...ignore that. Take the URL from the browser window and paste it into a text editor or some text buffer somewhere. e.g. https://hub.jazz.net/jts08/admin#action=com.ibm.team.repository.viewUserProfile⁢emId=_yyeAwKGKEeSa6LqyswPPCA
Go back to the Track&Plan view click on "Track & Plan" drop down and select the "Project Dashboard". You should now have a URL that looks like: https://hub.jazz.net/ccm08/web/projects/dleroux%20%7C%20TestNewSprint#action=com.ibm.team.dashboard.viewDashboard
Take the action portion from URL in 2 and replace the action portion of the url in 3 giving you something like: https://hub.jazz.net/ccm08/web/projects/dleroux%20%7C%20TestNewSprint#action=com.ibm.team.repository.viewUserProfile⁢emId=_yyeAwKGKEeSa6LqyswPPCA
Navigate to the URL...select "Mail configuration"

Can we move Google Analytics data to other account?

Started a webpage that now contains a lot of analytic data. Now that I have the client GA Tracking ID I would like to move the data I already have to that account.
Is this possible?
I get the Google Analytics API, I can always fetch all the data I want, but my problem is, upon I have the data how can I send / push this data to other account
in other words, How can I transfer data?
The domain is the same, only the account Id in use was a different one (my own, instead of the client's)
It is not possible:
You cannot currently transfer profiles or account data from one account to another account.
Google Analytics does not provide any flexibility with importing, exporting, or modifying any past data. Any data you have in one account cannot be moved to another.
With GA, the only way to get data in to an account is directly via __utm.gif requests, usually through their JavaScript snippet, but that doesn't allow for any way to import past data, since the date is fixed according to when the data is sent in.
Further, the Google Analytics API is read-only, and doesn't provide any way to import or move data.
(This answer is slightly less true for Universal Analytics
http://piwik.org/ is a good alternative, open source analytics system, not unlike Google Analytics, but without some of the constraints like this.
I think now it's possible to move data from one account to another.
Check out this article:
https://support.google.com/analytics/answer/6370521?hl=en
If you need to reorganize your properties in Analytics, you can move them (and their views) from one account to another.
Moving properties lets you keep your Analytics implementation current with your business. You might be reorganizing after a merger, after an internal restructuring, after hiring a new agency, or you might be developing a new Roll-Up strategy.
This was not possible in 2011 when the question was originally asked. Google added this capability to GA in 2016 (source). In addition to Google's documentation which engray provided, there are several blog posts which discuss how.
How to transfer a Google Analytics property from one Google Account to another
How to Move a Property to Another Account in Google Analytics
How to move a property:
Sign in to Google Analytics & navigate to Admin section.
In the ACCOUNT column choose the account that contains the property you want to move.
In the PROPERTY column, select the property you want to move.
Click Property Settings, then click Move property.
Select the destination account.
Choose your permissions settings.
Click Move.
Confirm data processing, then click Save.
Might be possible to do this as i was curious and found a few forum posts mentioning it:
Log into GA.
Goto the Account List.
Find your web property, you can't click the 'property' itself but a profile under it...
Then click on Admin on top-right side.
Go 'Up' a Level.
For example the breadcrumb says:
'Account list' › 'FOO (www.foo.com)' › 'FOO (www.foo.com) - (Default Profile)'
and now the breadcrumb should say when you click 2nd breadcrumb link:
'Account list' › 'FOO (www.foo.com)'
Now you have an option to add other users to this whole web property by going to the Users tab.
Add an Administrator user to this specific property. You can setup this user for them on gmail that they can change the password later after you set it up (or use their Google Account email they provide and maybe walk through with them to make sure they do it correctly).
Then login as that user, and delete the old user. Then that should 'transfer' to a new account.
What I do in this situation - export all data from Google account and import it into Tableau or QlickView. And use desktop analysis. In any case these data will be actual no more than 2 years.