Adding Authorization Details in package.json - visual-studio-code

I am trying something which involves allowing/authorizing access to online account from Visual Studio Code. The idea is that as soon as Atlassian Jira Extension will be installed, then the users will be allowedto their online Jira account from within VS Code so that can access the functionalities within the VS Code. Is there any way of doing this in package.json file? I mean is there any way of adding authorization credentials within package.json so that as soon as the extension is installed, the online Jira account opens in the VS Code?

Related

How to show a custom web page in 1 Azure DevOps project only

I understand I can build Extension, but it appears it will install on all projects in the collection. My custom web page is only relevant to 1 project.
I found this SO question How to install a TFS extension only on some project instead the whole collection but the 3 links in the answer aren't working.
Anyone have any work around suggestion?
As is shown in the ticket, the extension installed in the Collection Scope, the extension will be installed for all team projects.
Azure Devops doesn't support installing extensions for a single project now.
Since you are using the custom web page(custom extension), I am afraid that there is no method could limit the extension to users.
For some extensions and paid extension, you can restrict users from using this extension by assigning extension to user or changing access level.
You could refer to this doc about users access extension features.
Here are the User Voices about this feature, many customers have the same requirement.
Allow Extensions to be Installed only in Projects
Extensions scoped at a project level
You could vote it and add your thoughts in comment.

Can't connect to Azure Devops using Eclipse plugin

I'm using eclipse 2019, and I'm trying to integrate it with my company's Azure DevOps, or rather one specific project/repo in that.
After some quick googling, I found a tutorial (which I followed) that involved installing some software through eclipse for Team Explorer Everywhere, a plugin that supposedly performs this automation. However, after installing said plugin and attempting to connect to my company's Devops project, I get stuck in an authentication loop. More specifically, once I point it to the project's url from Azure Devops and give it the correct credentials, Eclipse asks me to click a link and paste a code it gives me into a field in that link once I sign in on the web. I do this, and the website tells me that authentication has been successful and that I should close the browser window. So, I do that. Then I hit "OK" in Eclipse, and the popup I've been in closes.
Now, this is where one might THINK that I would be connected to the Azure repo, but instead when the popup closes it just brings me back to the part where it asks me for a project url, with no changes having been made. I can complete these steps ad infinitum with no difference.
I've tried reinstalling the plugin, using a few different versions of eclipse (like Neon), and several different source urls.
I'd love to share any error messages, but I get nothing. It just blankly returns to the start of the process. The end result I'm looking for is for my Azure repo and and an Eclipse project to be synced.

Get UWP Store associations using PowerShell or MSBuild

I'm using AppVeyor CI to build my UWP app and want to create an APPX package during every build. However my .gitignore is ignoring the Package.StoreAssociation.xml and MyAppName_StoreKey.pfx which I want to include in the APPX package as they are identifying my app in Windows Store.
Is there any way to get these files using PowerShell or MSBuild or something like that? In other words, is there any command line equivalent to the Project > Store > Associate App with the Store... wizard?
I know I can upload these files to the repo as Secure files but I'd prefer getting the latest files from the Dev Center with every build.
I would say probably not, as the Associate App with the Store Wizard, is an authenticated Wizard which requires a users Microsoft Account to be registered with Visual Studio, Load Credentials from storage or asking for OAuth, and then Visual Studio goes to Microsoft's server to Sign the Certificate and Sign the app with it.
AppVeyor documentation says the currently UWP is not officially supported for UWP, as a Microsoft License is required.
Edit: Does this help?
Is there any way to get these files using PowerShell or MSBuild or something like that? In other words, is there any command line equivalent to the Project > Store > Associate App with the Store... wizard?
No, as #William's explanation. The associating operation needs user's interaction in Visual Studio, this doesn't depend on a public command/API.
In my experience, we need to store(maintain) the latest store association information in somewhere, overwrite the related files and replace the reserved keywords in the app's manifest template file before packaging.

Can not sign in to Azure from Visual Studio 2012

I am not able to login to my azure account from Visual Studio Professional 2012. I am getting an error shown below
However I am able to login to my Azure account using browser.
I have performed below steps
1) Opened Server Explorer in Visual Studio
2) Clicked on Microsoft Azure Subscription icon
3) Sign in Dialog Box opens up asking for my email, which I provided and clicked continue
4) Selected Microsoft Personal Account from the option provided
5) Entered Password clicked submit
6) Error dialog box opens up as shown earlier.
I feel that it is related to management certificate as I am also not able to run certain commands like Get-AzureDeployment from Azure PowerShell, whereas Get-AzureSubscription works fine.
I have already saved publishsettings file from Azure and there are certificates installed in Personal section in Certificate manager.
I was able to resolve the problem. As I could see that Visual Studio and Power shell both were failing. Visual Studio was not able to connect to Azure and Power shell scripts where I was trying to add Azure Account failed. By doing a bit more searching and reading few article, I came to know that Visual Studio as well as Power shell scripts apart from using your credentials for azure also use management certificate to communicate with azure. A network tool used in our organization was causing issue in this https communication. Just got it enabled from IT team and I am done.

Eclipse with TFS plugin - endless login loop

I have a problem in eclipse with the tfs plugin. I try to login and it stuck in some kind of login loop.
I looked here and in google. Nothing help.
I found this posts:
Eclipse with TFS plugin - looping login
http://social.msdn.microsoft.com/Forums/vstudio/en-US/5e3f8b3a-d623-4401-b9f1-50f1f52ab299/eclipse-tfs-plugin-keeps-signing-in-in-loop-followed-by-there-were-some-problems-message
I tried to clean cookies and password and everything possible in IE
I reinstalled the plugin. I updated everything possible, checked for eclipse indigo last version (3.2.7)
Nothing worked. Anyone can help me?
The forum posts you referenced are about the Team Foundation Service, not the on-premise server. Since the service uses Microsoft Accounts (previously known as Live Id's) it depends on cookies in your browser.
The on-premise version of Team Foundation Server uses your domain account which isn't stored as a cookie, but which is stored in the Windows Credentials Vault by default for Windows processes. Try going through the stored credentials to make sure your username/password or TFS server isn't mentioned there. If it is, either update it or remove it.
Can you verify whether the same account settings are correctly picked up by Visual Studio/Team Explorer (if you have it installed on the same machine)? Eclipse and Team Explorer should use the same credential vault.