Creating TFS new Team project using REST API - tfs-2015

I am trying to create Team projects using REST APIs. I have followed the Link:
I am able to create the project just like we can using the web portal.
I am trying to create a project which has SharePoint and Reporting integration, which is not in case of web portal and REST API as far as I know.
Need suggestion on ways of achieving the same with automation.

It doesn't support to create a team project using API with Reporting service and Sharepoint site. The only way is using Visual Studio/Team Explorer to create.
Maybe you could run the tfpt addprojectreports command in your code to configure reports for your new team project of TFS 2015. And use tfpt addprojectportal command to configure Sharepoint in your code. To use these command, you need to install TFS Power Tool.

Related

Import profile VS Select existing - deployment in Azure app service

I have .net core web application developed in VS 2019 already running in Azure. I installed the VS 2019 in a new system and opened the solution. When I am trying to publish (may be after a simple code change) the application using Visual Studio. The window that is coming up having 3 options to publish. Regarding these options, what is the difference, and when to use what?
Below is the screenshot, options highlighted in red. Create New is for complete new deployment, as per my understanding. However, I'm not able to clearly get, "select Existing" versus "import profile" and when to use what?
Can you download the publish profile from the azure portal for the service in question and reimport it?
The window that is coming up having 3 options to publish. Regarding these options, what is the difference, and when to use what?
1.Create New option enables us to create a new App Service, create or use an existing App Service plan (Hosting Plan) and Resource group within your specific subscription, like below.
If you do not have any existing App Services that you create through Azure portal or VS etc, you can use this option to create a new one before you publish your project.
2.Select Existing option enables us to search and select existing App Services from specific subscription and Resource group.
If you'd like to publish your project to an existing App Service, you can use this option.
3.Import Profile... option provides a way to import publish settings that we got from Azure portal as below and then deploy our app.
Sometimes, developer does not sign in with same account (create Azure App Service etc resources using this account) in Visual Studio, to deploy app to an existing App Service, we can use this option and import a publish settings file.

How to automate web app upload to cumlocity using the azure devOps

We have developed an web application using the angular 6 and uploading it manually using the adamos --> "Add application" option in administration Page.
We want to automate the process of building & deploying the application to the adamos.
Currently we are using Azure devOps, for building the angular App and creating a dist folder. Now how do i automate the process of uploading my web app in adamos.
Please let me know, any possibility is there now?
Thanks
Not knowing the Azure devOps you usually use the CLI provided by Cumulocity (via npm) for build & deploy. That is usually also the approach for other CI like Jenkins.
The deploy process itself is just containing REST calls (like the UI also does). So that part you could do also easily without the CLI tool.

Set up Application Insights for Older WCF Library

I've "setup" AI through the context menu in VS 2017 when selecting the "Configure Application Insights" option. It doesn't set up like ASP.NET sites. it didn't add AI dll's and there isn't a ApplicationInsights.config
But it does state I've connected to the AI i created in Azure. yet i don't see the instrumentation Key anywhere. Also When I rum the WCF service noting gets logged. is there a specific way we need to set up AI for this? I couldn't find articles on how to do this. The only files that were generated was in the Connected Services AI folder and ConnectedService.json
I figured out the issue, of TFS for some reason it didn't allow checkout of project file so it created the files but couldn't add it to the project. I checkout the project manually and delete the files. Then added AI and it worked as expected.

Creating plugin for Microsoft Dynamics CRM 2013

I am very new to Microsoft CRM , (working first time) and have requirement to call one custom webservice whenever new Account is created in Microsoft Dynamic CRM 2013.
Response returned from webservice needs to be stored as csv file in Files section of new account. Can anyone provide basic guideline how we can achieve this?
Here is a good link for getting started with writing a plug-in: http://msdn.microsoft.com/en-us/library/gg328263.aspx (The link points to CRM 2011, but this is compatible with 2013 and is a good place to get started.)
You'll also want to download the SDK. Provided with the SDK are tools for deploying the plugin, examples of plugins and much, much more. http://www.microsoft.com/en-us/download/details.aspx?id=40321
The CSV file will also be stored as an annotation. Here's an example: http://msdn.microsoft.com/en-us/library/gg328429.aspx
Really, I'd start with the SDK and then look to the specific links.

Can tfs feedback be recieved via TFS Web Access w/o installing feedbackclient.exe?

ON TFS2012 is it possible to request feedback from customers that are utilizing the web client without them having to install feedbackclient.exe on their machines
Usersnap allows customers to add feedback without installing anything locally. It integrates into Microsoft Team Foundation Service (this means, every feedback from your customers is automatically created as ticket inside your TFS workflow).
Your customers even don't need an account in TFS to provide feedback.
It's easy to integrate Usersnap with TFS, you can have a look at the docs here: https://usersnap.com/support/docs/apicfg#tfs
To work with the feedback request like it is explained here it is not possible to give feedback without installing the client tool.
I thought it would work also by logging in in the TFS web interface then open the feedback request and answer to it but apparently after testing it myself I did not found a solution directly. Though the feedback would be filled in completely manually while all the needed tools are available with the client tool.