SlideShare une entreprise Scribd logo
1  sur  51
Télécharger pour lire hors ligne
ThatConference 2014
Angela Dugan
Angela.Dugan@PolarisSolutions.com
ALM Practice Manager
Chicago ALM User Group
ALM MVP, PSM, PSM
15 years in the software industry
With a possibly unhealthy love of Halloween 
Shameless self promotion
Polaris Solutions- http://www.polarissolutions.com/
Chicago Visual Studio ALM User Group - http://www.chicagoalmug.org/
Twitter: @OakParkGirl, @ChicagoALM, @TeamPolaris
Blog - http://www.tfswhisperer.com/
Managing TFS Templates
Managing TFS Security
Other TFS Admin Tools
TFS Should Be PLANNED to ensure:
Effectiveness – Does it do what you need?
Scalability – Will the structure or configuration cause
bottlenecks as the team grows?
Efficiency – Can you do what you need quickly, and
without added effort?
TF Server
Project
Collection 1
Team Project
C
Roll-up
team
Sub-
Team 1
Sub-
Team 2
Project
Collection 2
Team Project
A
Team Project
B
Web
Team
Mobile
Team
TF Server
Project
Collection 1
Team Project
C
Roll-up
team
Sub-
Team 1
Sub-
Team 2
Project
Collection 2
Team Project
A
Team Project
B
Web
Team
Mobile
Team
TPC = Collection of *tightly
related* Team Projects
TPC = SQL Database
Can be backed up and restored
individually
No sharing of:
 Work Items
 Source Code
 Queries
 Reports
 Build Controllers
Team Project Collections CANNOT be renamed*
Create only as many TPCs as necessary
TF Server
Project
Collection 1
Team Project
C
Master
team
Sub-
Team 1
Sub-
Team 2
Project
Collection 2
Team Project
A
Team Project
B
Web
Team
Mobile
Team
Team Project <> “Project”
TP = Logical view of subset of TPC data
Team Projects Contain
1 Process Template
1 commons set of users and roles
1 SharePoint portal (optional)
1 Reports site (optional)
Work Items, Source Code, Reports, and Queries CAN cross Team Project
boundaries.
BUT… no sharing of:
 Work Item Templates and Definitions
Build Definitions
 Areas and Iterations
 Work Items cannot be MOVED to another Team project, only copied
Team Projects REALLY cannot be renamed
Create only as many TPs as necessary
Create only as many TPs as necessary
Absolute minimum TFS administration overhead
Easy sharing of code, work items, builds, etc.
Allows for organizational portfolio management in TFS
Great in theory, complicated in practice
Can result in very deep hierarchies of Areas and Iterations
Builds folder may get crowded and unwieldy
All users must agree on a process template (not always easy)
Security can be VERY complex if granular artifact isolation is required
Consideration Recommendation
Codebases are being shared Create New TP or Add to Existing TP
Database level artifact isolation required (compliance) New Team Project Collection
Organizational portfolio management needed ONE Team Project
Desire to minimize administration overhead Create New TP or ideally Add to Existing TP
Ability to easily scale due to database growth New Team Project Collection or split TPC
Need to hand off code/project to client New Team Project Collection or split TPC
Need a new process template or SCM (TFGit) New Team Project
Developers don’t want their code “touching” Couples counseling, seriously
TF Server
Project
Collection 1
Team Project
C
Master
team
Sub-
Team 1
Sub-
Team 2
Project
Collection 2
Team Project
A
Team Project
B
Web
Team
Mobile
Team
Named group of users
Provides narrowed scope for
viewing work items and status
Can be used to secure access to
Team Project artifacts
Each team has their own planning
tools and views
*Does not have to map to
traditional people teams
Pros
 Teams can be categorized into sub-teams
 Teams are allocated their own, isolated backlogs
 Teams are flexible, can be easily retired and recreated as needed
Cons
 May not map to your existing usage of Areas
Teams cannot be shared across Team Projects
 Teams are flat user lists
 >100 users not loaded by Team Explorer  you have bigger issues!
 Team capacities do not “roll up” automatically to parent teams
Managing TFS Templates
Managing TFS Security
Other TFS Admin Tools
Agile, CMMI, Scrum included
Many free 3rd Party options
Customize to match YOUR process
Defines:
Who is on your team?
What can people do?
How should they do it?
Behind the scenes it’s just a bunch of XML Files
It’s just XML. Manage it like any code!
Don’t customize before evaluating OOB first!
Yes you can customize. But SHOULD you?
Keep a “sandbox” TPC (ideally a test TFS instance) for piloting
customizations
Keep changes additive whenever possible
Keep customization consistent across Team Projects if possible
Apply an ALM process to releasing and testing customizations
TFS Structure and Anatomy
Managing TFS Templates
Managing TFS Security
Other TFS Admin Tools
Team Foundation Server Instance
Team Foundation Server Team Collection
Team Foundation Server Team Project
Team Foundation Server Teams
Team Foundation Web Access
SharePoint Site Collection
SharePoint Sites
Reports Server
TFS group security and permissions can be found here: http://msdn.microsoft.com/en-us/library/vstudio/ms252587.aspx
SharePoint security here: http://office.microsoft.com/en-us/sharepoint-server-help/manage-membership-of-sharepoint-groups-HA101794106.aspx?CTT=5&origin=HA101794118
Pre-defined roles for SSRS can be found here: http://msdn.microsoft.com/en-gb/library/ms157363.aspx
TFS Permissions Managed via Admin Console and Web
Permissions Limited to Team Projects
Permissions Inherited via Group Membership
SharePoint Permissions Managed via Central Admin and SharePoint Site Security
Permissions can be scoped to Collection or Site
Permissions Inherited via AD Group Membership
Reporting Permissions Managed via Reports Server Site
Permissions can be scoped to Server or Project Folders
Permissions Inherited via AD and/or SharePoint Group Membership
Yes, there are THREE separate places to manage security!
http://msdn.microsoft.com/en-us/library/ms253094%28v=vs.110%29.aspx
Permissions are inherited from group membership*.
Permissions can be allow, deny, or “not set”.
For almost all permissions, deny trumps allow*.
If permissions are not explicitly set to allow, they are implicitly denied unless an allow has
been inherited via group membership (“inherited allow”).
If a user belongs to multiple groups, and ANY one group has a specific permission set to
deny, that user will not be able to perform tasks that require that permission.
TFS, TPC, and TP Administrator level permissions CANNOT be edited.
*With build, version control, and work item related artifacts, explicit permissions that are set on a particular object override those that are inherited from the parent
objects. This allows you to do things like allow a user access to a root source control folder, but deny them access to one of that folder’s branches.
Managing TFS Templates
Managing TFS Security
Other TFS Admin Tools
TFS Power Tools: TFS extensions for managing TFS resources
and providing advanced capabilities.
CodePlex Add-Ons: community based, often authored by
Microsoft employees, not officially supported
Visual Studio Gallery: similar to CodePlex, officially supported by
Microsoft
Third-Party Plug-ins: usually free, extends TFS capabilities
TFS Power Tools:
TFS Admin Reports
TFS Backup and Restore
Check-in Policy Add-on Pack
Process Editor
Best Practices Analyzer
CodePlex/VS Gallery
TFS Admin Tool
Team Project Manager
Community Build Manager
Third-Party Tools
Attrice Sidekicks
Activity Log
Every command that every user has executed against TFS for the last 14 days.
TFS Job Monitoring
TFS Background Job Agent schedules and queues jobs within TFS
Total Run Time - How long jobs take to Execute
Number of Jobs Run - Number of times jobs are run and status
Average Run and Queue Time - Number of jobs executing at a particular time, average time that they waited
in the queue, and average run time
Job Queue - which jobs are currently queued, their priorities and when they are expected to start.
Used to be a Power Tool, now an OOB Feature with TFS 2013
Backups up TFS related databases
Nightly, Manual or Custom
Full, Differential, Transactional
Allows for TPC-level Restore
Notifications Available
TFS SCM Add-Ons
Code Analysis
Custom Path
Forbidden patterns
Work Item Queries
Found in TFS Power Tools:
http://visualstudiogallery.msdn.microsoft.com/f0
17b10c-02b4-4d6d-9845-58a06545627f
Import/Export/Manage:
Work Item Definitions
Workflow
Form Layout
Global Lists
Open/Edit from file or server
http://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f
Scan TFS Instance
Hardware AND Software
Detect Security Issues
Lists non-default settings
Detects non-compliance with
best practices
Recommends remediation
http://msdn.microsoft.com/en-us/library/ee248645%28v=vs.100%29.aspx
http://tfsadmin.codeplex.com/
Free TFS Analyzer Tool:
View team project activities
View and edit SCM settings
View branch hierarchies
View and edit security group and settings
View and edit build templates
View and edit build definitions
Compare templates
View and edit process configuration
Supports TFS 2008+
http://teamprojectmanager.codeplex.com/
http://visualstudiogallery.msdn.microsoft.com/73bf2d8e-aec6-406c-8e7f-1c678e46557f
Visualization and Admin Add-On for TFS
Plugs right into Visual Studio
Provides additional features around:
Workspaces
Security and Permissions
Code Review
SCM History and Labels
FREE, yes, I know!
http://www.attrice.info/
Manage TFS Structures and Security for Optimal ALM
Manage TFS Structures and Security for Optimal ALM
Manage TFS Structures and Security for Optimal ALM

Contenu connexe

Tendances

Requirements and Team Foundation Server
Requirements and Team Foundation ServerRequirements and Team Foundation Server
Requirements and Team Foundation ServerSteve Lange
 
Team Foundation Server 2012 Reporting
Team Foundation Server 2012 ReportingTeam Foundation Server 2012 Reporting
Team Foundation Server 2012 ReportingSteve Lange
 
Slides from LAX & DEN usergroup meetings
Slides from LAX & DEN usergroup meetingsSlides from LAX & DEN usergroup meetings
Slides from LAX & DEN usergroup meetings10n Software, LLC
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best PracticesVivek Chawla
 
The java enterprise edition (Servlet Basic)
The java enterprise edition (Servlet Basic)The java enterprise edition (Servlet Basic)
The java enterprise edition (Servlet Basic)Atul Saurabh
 
Working as a Team with Team Foundation Server 2010
Working as a Team with Team Foundation Server 2010Working as a Team with Team Foundation Server 2010
Working as a Team with Team Foundation Server 2010gueste6f731
 
Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013Paul Hacker
 
Team Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version ControlTeam Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version ControlSteve Lange
 
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...Martijn de Jong
 
Team Foundation Server - Source Control
Team Foundation Server - Source ControlTeam Foundation Server - Source Control
Team Foundation Server - Source ControlDhirendra Singh
 

Tendances (12)

Requirements and Team Foundation Server
Requirements and Team Foundation ServerRequirements and Team Foundation Server
Requirements and Team Foundation Server
 
Team Foundation Server 2012 Reporting
Team Foundation Server 2012 ReportingTeam Foundation Server 2012 Reporting
Team Foundation Server 2012 Reporting
 
Slides from LAX & DEN usergroup meetings
Slides from LAX & DEN usergroup meetingsSlides from LAX & DEN usergroup meetings
Slides from LAX & DEN usergroup meetings
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best Practices
 
The java enterprise edition (Servlet Basic)
The java enterprise edition (Servlet Basic)The java enterprise edition (Servlet Basic)
The java enterprise edition (Servlet Basic)
 
Working as a Team with Team Foundation Server 2010
Working as a Team with Team Foundation Server 2010Working as a Team with Team Foundation Server 2010
Working as a Team with Team Foundation Server 2010
 
Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013Lap around ALM with Visual Studio and TFS 2013
Lap around ALM with Visual Studio and TFS 2013
 
Team Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version ControlTeam Foundation Server 2010 - Version Control
Team Foundation Server 2010 - Version Control
 
Test automation process
Test automation processTest automation process
Test automation process
 
Team foundation server
Team foundation serverTeam foundation server
Team foundation server
 
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
BP101 - 10 Things to Consider when Developing & Deploying Applications in Lar...
 
Team Foundation Server - Source Control
Team Foundation Server - Source ControlTeam Foundation Server - Source Control
Team Foundation Server - Source Control
 

En vedette

En vedette (7)

Google maps
Google mapsGoogle maps
Google maps
 
Barack Obama - Is it just a vision?
Barack Obama - Is it just a vision? Barack Obama - Is it just a vision?
Barack Obama - Is it just a vision?
 
Time
TimeTime
Time
 
Awesome Subways
Awesome SubwaysAwesome Subways
Awesome Subways
 
Chicago ALM User Group - Nov 2014 - Application Insights 101
Chicago ALM User Group - Nov 2014 - Application Insights 101Chicago ALM User Group - Nov 2014 - Application Insights 101
Chicago ALM User Group - Nov 2014 - Application Insights 101
 
Test
TestTest
Test
 
貓咪真的喵的學問大
貓咪真的喵的學問大貓咪真的喵的學問大
貓咪真的喵的學問大
 

Similaire à Manage TFS Structures and Security for Optimal ALM

CCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evilCCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evilAngela Dugan
 
TFS 2013 Care and Feeding
TFS 2013 Care and FeedingTFS 2013 Care and Feeding
TFS 2013 Care and FeedingAngela Dugan
 
Webinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in controlWebinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in controlShareGate
 
How to improve Developer Documentations ?
How to improve Developer Documentations ?How to improve Developer Documentations ?
How to improve Developer Documentations ?Utsav Parashar
 
DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...
DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...
DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...Paris Salesforce Developer Group
 
Tech Module 4 - Microsoft Teams admin and gov.pptx
Tech Module 4 - Microsoft Teams admin and gov.pptxTech Module 4 - Microsoft Teams admin and gov.pptx
Tech Module 4 - Microsoft Teams admin and gov.pptxeco80080
 
Understanding Office 365 Groups: Ask The Experts
Understanding Office 365 Groups: Ask The ExpertsUnderstanding Office 365 Groups: Ask The Experts
Understanding Office 365 Groups: Ask The ExpertsDux Raymond Sy
 
Microsoft teams role specific guide
Microsoft teams role specific guideMicrosoft teams role specific guide
Microsoft teams role specific guideShmuel Mishali
 
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile WorldSTLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile WorldAngela Dugan
 
VSTS Migration Briefing
VSTS Migration BriefingVSTS Migration Briefing
VSTS Migration BriefingAngela Dugan
 
Datasheet foldermanagementpluginforrd
Datasheet foldermanagementpluginforrdDatasheet foldermanagementpluginforrd
Datasheet foldermanagementpluginforrdMidVision
 
"Platform Engineering in practice — Why and How to start", Serg Hospodarets
"Platform Engineering in practice — Why and How to start", Serg Hospodarets "Platform Engineering in practice — Why and How to start", Serg Hospodarets
"Platform Engineering in practice — Why and How to start", Serg Hospodarets Fwdays
 
Extending Microsoft Teams with SPFx webparts
Extending Microsoft Teams with SPFx webpartsExtending Microsoft Teams with SPFx webparts
Extending Microsoft Teams with SPFx webpartsAntti Koskela
 
Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...
Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...
Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...Microsoft TechNet
 

Similaire à Manage TFS Structures and Security for Optimal ALM (20)

CCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evilCCC 2015 tfs admin for good not evil
CCC 2015 tfs admin for good not evil
 
TFS 2013 Care and Feeding
TFS 2013 Care and FeedingTFS 2013 Care and Feeding
TFS 2013 Care and Feeding
 
Webinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in controlWebinar: Deploy Microsoft Teams and stay in control
Webinar: Deploy Microsoft Teams and stay in control
 
How to improve Developer Documentations ?
How to improve Developer Documentations ?How to improve Developer Documentations ?
How to improve Developer Documentations ?
 
DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...
DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...
DX@Scale: Optimizing Salesforce Development and Deployment for large scale pr...
 
Scrum And Tfs
Scrum And TfsScrum And Tfs
Scrum And Tfs
 
FLossEd-BK Tequila Framework3.2.1
FLossEd-BK Tequila Framework3.2.1FLossEd-BK Tequila Framework3.2.1
FLossEd-BK Tequila Framework3.2.1
 
Tech Module 4 - Microsoft Teams admin and gov.pptx
Tech Module 4 - Microsoft Teams admin and gov.pptxTech Module 4 - Microsoft Teams admin and gov.pptx
Tech Module 4 - Microsoft Teams admin and gov.pptx
 
Understanding Office 365 Groups: Ask The Experts
Understanding Office 365 Groups: Ask The ExpertsUnderstanding Office 365 Groups: Ask The Experts
Understanding Office 365 Groups: Ask The Experts
 
TFS session
TFS sessionTFS session
TFS session
 
Tfs session
Tfs sessionTfs session
Tfs session
 
Microsoft teams role specific guide
Microsoft teams role specific guideMicrosoft teams role specific guide
Microsoft teams role specific guide
 
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile WorldSTLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
STLDODN 2015 - How VSO and TFS 2015 Will Rock Your Agile World
 
Terratest sentinel hashiconf
Terratest sentinel hashiconfTerratest sentinel hashiconf
Terratest sentinel hashiconf
 
VSTS Migration Briefing
VSTS Migration BriefingVSTS Migration Briefing
VSTS Migration Briefing
 
Plugin style EA
Plugin style EAPlugin style EA
Plugin style EA
 
Datasheet foldermanagementpluginforrd
Datasheet foldermanagementpluginforrdDatasheet foldermanagementpluginforrd
Datasheet foldermanagementpluginforrd
 
"Platform Engineering in practice — Why and How to start", Serg Hospodarets
"Platform Engineering in practice — Why and How to start", Serg Hospodarets "Platform Engineering in practice — Why and How to start", Serg Hospodarets
"Platform Engineering in practice — Why and How to start", Serg Hospodarets
 
Extending Microsoft Teams with SPFx webparts
Extending Microsoft Teams with SPFx webpartsExtending Microsoft Teams with SPFx webparts
Extending Microsoft Teams with SPFx webparts
 
Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...
Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...
Automating Desktop Management with Windows Powershell V2.0 and Group Policy M...
 

Plus de Angela Dugan

VSL Las Vegas 2023 - Measuring Up! How To Choose Agile Metrics
VSL Las Vegas 2023 - Measuring Up! How To Choose Agile MetricsVSL Las Vegas 2023 - Measuring Up! How To Choose Agile Metrics
VSL Las Vegas 2023 - Measuring Up! How To Choose Agile MetricsAngela Dugan
 
VSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdf
VSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdfVSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdf
VSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdfAngela Dugan
 
VS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdf
VS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdfVS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdf
VS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdfAngela Dugan
 
Adaptability Quotient - DevUp 2022.pdf
Adaptability Quotient  - DevUp 2022.pdfAdaptability Quotient  - DevUp 2022.pdf
Adaptability Quotient - DevUp 2022.pdfAngela Dugan
 
Measuring Up - Agile Team Metrics - DevUp 2022.pdf
Measuring Up - Agile Team Metrics - DevUp 2022.pdfMeasuring Up - Agile Team Metrics - DevUp 2022.pdf
Measuring Up - Agile Team Metrics - DevUp 2022.pdfAngela Dugan
 
Measuring Up - PMI Agile Conference 2022.pdf
Measuring Up - PMI Agile Conference 2022.pdfMeasuring Up - PMI Agile Conference 2022.pdf
Measuring Up - PMI Agile Conference 2022.pdfAngela Dugan
 
VS Live 2021 Orlando - vst14 feedback skills
VS Live 2021 Orlando - vst14 feedback skillsVS Live 2021 Orlando - vst14 feedback skills
VS Live 2021 Orlando - vst14 feedback skillsAngela Dugan
 
VS Live 2021 VST09 agile team metrics Fast Focus - angela dugan
VS Live 2021   VST09 agile team metrics Fast Focus - angela duganVS Live 2021   VST09 agile team metrics Fast Focus - angela dugan
VS Live 2021 VST09 agile team metrics Fast Focus - angela duganAngela Dugan
 
THAT Conference 2021 - Level up your Feedback Game
THAT Conference 2021 - Level up your Feedback GameTHAT Conference 2021 - Level up your Feedback Game
THAT Conference 2021 - Level up your Feedback GameAngela Dugan
 
APLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela Dugan
APLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela DuganAPLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela Dugan
APLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela DuganAngela Dugan
 
Agile midwest 2019 tap, tap, tap communication
Agile midwest 2019   tap, tap, tap communicationAgile midwest 2019   tap, tap, tap communication
Agile midwest 2019 tap, tap, tap communicationAngela Dugan
 
That conference tap, tap, tap communication
That conference tap, tap, tap communicationThat conference tap, tap, tap communication
That conference tap, tap, tap communicationAngela Dugan
 
Agile days chicago 2018 - how do you measure up?
Agile days chicago 2018 -  how do you measure up?Agile days chicago 2018 -  how do you measure up?
Agile days chicago 2018 - how do you measure up?Angela Dugan
 
VS Live Chicago 2018 - how do you measure up
VS Live Chicago 2018 - how do you measure upVS Live Chicago 2018 - how do you measure up
VS Live Chicago 2018 - how do you measure upAngela Dugan
 
Chicago Code Camp 2018 - Building strong teams
Chicago Code Camp 2018 - Building strong teamsChicago Code Camp 2018 - Building strong teams
Chicago Code Camp 2018 - Building strong teamsAngela Dugan
 
APLN Conference 2018 - Getting your agile team unstuck
APLN Conference 2018 - Getting your agile team unstuckAPLN Conference 2018 - Getting your agile team unstuck
APLN Conference 2018 - Getting your agile team unstuckAngela Dugan
 
Dev up 2017 - Half Day Workshop: Getting your agile team unstuck
Dev up 2017 - Half Day Workshop: Getting your agile team unstuckDev up 2017 - Half Day Workshop: Getting your agile team unstuck
Dev up 2017 - Half Day Workshop: Getting your agile team unstuckAngela Dugan
 
Dev up 2017 - how do you measure up
Dev up 2017 - how do you measure upDev up 2017 - how do you measure up
Dev up 2017 - how do you measure upAngela Dugan
 
That conference 2017 - Getting your Agile Team Unstuck
That conference 2017 - Getting your Agile Team UnstuckThat conference 2017 - Getting your Agile Team Unstuck
That conference 2017 - Getting your Agile Team UnstuckAngela Dugan
 
Visual Studio ALM and DevOps Tools Walkthrough
Visual Studio ALM and DevOps Tools WalkthroughVisual Studio ALM and DevOps Tools Walkthrough
Visual Studio ALM and DevOps Tools WalkthroughAngela Dugan
 

Plus de Angela Dugan (20)

VSL Las Vegas 2023 - Measuring Up! How To Choose Agile Metrics
VSL Las Vegas 2023 - Measuring Up! How To Choose Agile MetricsVSL Las Vegas 2023 - Measuring Up! How To Choose Agile Metrics
VSL Las Vegas 2023 - Measuring Up! How To Choose Agile Metrics
 
VSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdf
VSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdfVSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdf
VSL MSHQ 2022 - Supercharged Feedback Techniques in 20 minutes - Dugan.pdf
 
VS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdf
VS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdfVS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdf
VS Liv MSHQ 2022 - Measuring Up! How To Choose Agile Metrics - Dugan.pdf
 
Adaptability Quotient - DevUp 2022.pdf
Adaptability Quotient  - DevUp 2022.pdfAdaptability Quotient  - DevUp 2022.pdf
Adaptability Quotient - DevUp 2022.pdf
 
Measuring Up - Agile Team Metrics - DevUp 2022.pdf
Measuring Up - Agile Team Metrics - DevUp 2022.pdfMeasuring Up - Agile Team Metrics - DevUp 2022.pdf
Measuring Up - Agile Team Metrics - DevUp 2022.pdf
 
Measuring Up - PMI Agile Conference 2022.pdf
Measuring Up - PMI Agile Conference 2022.pdfMeasuring Up - PMI Agile Conference 2022.pdf
Measuring Up - PMI Agile Conference 2022.pdf
 
VS Live 2021 Orlando - vst14 feedback skills
VS Live 2021 Orlando - vst14 feedback skillsVS Live 2021 Orlando - vst14 feedback skills
VS Live 2021 Orlando - vst14 feedback skills
 
VS Live 2021 VST09 agile team metrics Fast Focus - angela dugan
VS Live 2021   VST09 agile team metrics Fast Focus - angela duganVS Live 2021   VST09 agile team metrics Fast Focus - angela dugan
VS Live 2021 VST09 agile team metrics Fast Focus - angela dugan
 
THAT Conference 2021 - Level up your Feedback Game
THAT Conference 2021 - Level up your Feedback GameTHAT Conference 2021 - Level up your Feedback Game
THAT Conference 2021 - Level up your Feedback Game
 
APLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela Dugan
APLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela DuganAPLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela Dugan
APLN 2021 - Adaptability Quotient keynote - Sara Caldwell and Angela Dugan
 
Agile midwest 2019 tap, tap, tap communication
Agile midwest 2019   tap, tap, tap communicationAgile midwest 2019   tap, tap, tap communication
Agile midwest 2019 tap, tap, tap communication
 
That conference tap, tap, tap communication
That conference tap, tap, tap communicationThat conference tap, tap, tap communication
That conference tap, tap, tap communication
 
Agile days chicago 2018 - how do you measure up?
Agile days chicago 2018 -  how do you measure up?Agile days chicago 2018 -  how do you measure up?
Agile days chicago 2018 - how do you measure up?
 
VS Live Chicago 2018 - how do you measure up
VS Live Chicago 2018 - how do you measure upVS Live Chicago 2018 - how do you measure up
VS Live Chicago 2018 - how do you measure up
 
Chicago Code Camp 2018 - Building strong teams
Chicago Code Camp 2018 - Building strong teamsChicago Code Camp 2018 - Building strong teams
Chicago Code Camp 2018 - Building strong teams
 
APLN Conference 2018 - Getting your agile team unstuck
APLN Conference 2018 - Getting your agile team unstuckAPLN Conference 2018 - Getting your agile team unstuck
APLN Conference 2018 - Getting your agile team unstuck
 
Dev up 2017 - Half Day Workshop: Getting your agile team unstuck
Dev up 2017 - Half Day Workshop: Getting your agile team unstuckDev up 2017 - Half Day Workshop: Getting your agile team unstuck
Dev up 2017 - Half Day Workshop: Getting your agile team unstuck
 
Dev up 2017 - how do you measure up
Dev up 2017 - how do you measure upDev up 2017 - how do you measure up
Dev up 2017 - how do you measure up
 
That conference 2017 - Getting your Agile Team Unstuck
That conference 2017 - Getting your Agile Team UnstuckThat conference 2017 - Getting your Agile Team Unstuck
That conference 2017 - Getting your Agile Team Unstuck
 
Visual Studio ALM and DevOps Tools Walkthrough
Visual Studio ALM and DevOps Tools WalkthroughVisual Studio ALM and DevOps Tools Walkthrough
Visual Studio ALM and DevOps Tools Walkthrough
 

Manage TFS Structures and Security for Optimal ALM

  • 2. ALM Practice Manager Chicago ALM User Group ALM MVP, PSM, PSM 15 years in the software industry With a possibly unhealthy love of Halloween  Shameless self promotion Polaris Solutions- http://www.polarissolutions.com/ Chicago Visual Studio ALM User Group - http://www.chicagoalmug.org/ Twitter: @OakParkGirl, @ChicagoALM, @TeamPolaris Blog - http://www.tfswhisperer.com/
  • 3. Managing TFS Templates Managing TFS Security Other TFS Admin Tools
  • 4. TFS Should Be PLANNED to ensure: Effectiveness – Does it do what you need? Scalability – Will the structure or configuration cause bottlenecks as the team grows? Efficiency – Can you do what you need quickly, and without added effort?
  • 5. TF Server Project Collection 1 Team Project C Roll-up team Sub- Team 1 Sub- Team 2 Project Collection 2 Team Project A Team Project B Web Team Mobile Team
  • 6. TF Server Project Collection 1 Team Project C Roll-up team Sub- Team 1 Sub- Team 2 Project Collection 2 Team Project A Team Project B Web Team Mobile Team
  • 7. TPC = Collection of *tightly related* Team Projects TPC = SQL Database Can be backed up and restored individually
  • 8. No sharing of:  Work Items  Source Code  Queries  Reports  Build Controllers Team Project Collections CANNOT be renamed* Create only as many TPCs as necessary
  • 9. TF Server Project Collection 1 Team Project C Master team Sub- Team 1 Sub- Team 2 Project Collection 2 Team Project A Team Project B Web Team Mobile Team
  • 10. Team Project <> “Project” TP = Logical view of subset of TPC data Team Projects Contain 1 Process Template 1 commons set of users and roles 1 SharePoint portal (optional) 1 Reports site (optional)
  • 11. Work Items, Source Code, Reports, and Queries CAN cross Team Project boundaries. BUT… no sharing of:  Work Item Templates and Definitions Build Definitions  Areas and Iterations  Work Items cannot be MOVED to another Team project, only copied Team Projects REALLY cannot be renamed Create only as many TPs as necessary
  • 12. Create only as many TPs as necessary
  • 13.
  • 14. Absolute minimum TFS administration overhead Easy sharing of code, work items, builds, etc. Allows for organizational portfolio management in TFS Great in theory, complicated in practice Can result in very deep hierarchies of Areas and Iterations Builds folder may get crowded and unwieldy All users must agree on a process template (not always easy) Security can be VERY complex if granular artifact isolation is required
  • 15. Consideration Recommendation Codebases are being shared Create New TP or Add to Existing TP Database level artifact isolation required (compliance) New Team Project Collection Organizational portfolio management needed ONE Team Project Desire to minimize administration overhead Create New TP or ideally Add to Existing TP Ability to easily scale due to database growth New Team Project Collection or split TPC Need to hand off code/project to client New Team Project Collection or split TPC Need a new process template or SCM (TFGit) New Team Project Developers don’t want their code “touching” Couples counseling, seriously
  • 16. TF Server Project Collection 1 Team Project C Master team Sub- Team 1 Sub- Team 2 Project Collection 2 Team Project A Team Project B Web Team Mobile Team
  • 17. Named group of users Provides narrowed scope for viewing work items and status Can be used to secure access to Team Project artifacts Each team has their own planning tools and views *Does not have to map to traditional people teams
  • 18. Pros  Teams can be categorized into sub-teams  Teams are allocated their own, isolated backlogs  Teams are flexible, can be easily retired and recreated as needed Cons  May not map to your existing usage of Areas Teams cannot be shared across Team Projects  Teams are flat user lists  >100 users not loaded by Team Explorer  you have bigger issues!  Team capacities do not “roll up” automatically to parent teams
  • 19.
  • 20. Managing TFS Templates Managing TFS Security Other TFS Admin Tools
  • 21. Agile, CMMI, Scrum included Many free 3rd Party options Customize to match YOUR process Defines: Who is on your team? What can people do? How should they do it?
  • 22. Behind the scenes it’s just a bunch of XML Files
  • 23. It’s just XML. Manage it like any code!
  • 24. Don’t customize before evaluating OOB first! Yes you can customize. But SHOULD you? Keep a “sandbox” TPC (ideally a test TFS instance) for piloting customizations Keep changes additive whenever possible Keep customization consistent across Team Projects if possible Apply an ALM process to releasing and testing customizations
  • 25. TFS Structure and Anatomy Managing TFS Templates Managing TFS Security Other TFS Admin Tools
  • 26. Team Foundation Server Instance Team Foundation Server Team Collection Team Foundation Server Team Project Team Foundation Server Teams Team Foundation Web Access SharePoint Site Collection SharePoint Sites Reports Server TFS group security and permissions can be found here: http://msdn.microsoft.com/en-us/library/vstudio/ms252587.aspx SharePoint security here: http://office.microsoft.com/en-us/sharepoint-server-help/manage-membership-of-sharepoint-groups-HA101794106.aspx?CTT=5&origin=HA101794118 Pre-defined roles for SSRS can be found here: http://msdn.microsoft.com/en-gb/library/ms157363.aspx
  • 27.
  • 28. TFS Permissions Managed via Admin Console and Web Permissions Limited to Team Projects Permissions Inherited via Group Membership SharePoint Permissions Managed via Central Admin and SharePoint Site Security Permissions can be scoped to Collection or Site Permissions Inherited via AD Group Membership Reporting Permissions Managed via Reports Server Site Permissions can be scoped to Server or Project Folders Permissions Inherited via AD and/or SharePoint Group Membership Yes, there are THREE separate places to manage security! http://msdn.microsoft.com/en-us/library/ms253094%28v=vs.110%29.aspx
  • 29. Permissions are inherited from group membership*. Permissions can be allow, deny, or “not set”. For almost all permissions, deny trumps allow*. If permissions are not explicitly set to allow, they are implicitly denied unless an allow has been inherited via group membership (“inherited allow”). If a user belongs to multiple groups, and ANY one group has a specific permission set to deny, that user will not be able to perform tasks that require that permission. TFS, TPC, and TP Administrator level permissions CANNOT be edited. *With build, version control, and work item related artifacts, explicit permissions that are set on a particular object override those that are inherited from the parent objects. This allows you to do things like allow a user access to a root source control folder, but deny them access to one of that folder’s branches.
  • 30.
  • 31. Managing TFS Templates Managing TFS Security Other TFS Admin Tools
  • 32. TFS Power Tools: TFS extensions for managing TFS resources and providing advanced capabilities. CodePlex Add-Ons: community based, often authored by Microsoft employees, not officially supported Visual Studio Gallery: similar to CodePlex, officially supported by Microsoft Third-Party Plug-ins: usually free, extends TFS capabilities
  • 33. TFS Power Tools: TFS Admin Reports TFS Backup and Restore Check-in Policy Add-on Pack Process Editor Best Practices Analyzer CodePlex/VS Gallery TFS Admin Tool Team Project Manager Community Build Manager Third-Party Tools Attrice Sidekicks
  • 34. Activity Log Every command that every user has executed against TFS for the last 14 days. TFS Job Monitoring TFS Background Job Agent schedules and queues jobs within TFS Total Run Time - How long jobs take to Execute Number of Jobs Run - Number of times jobs are run and status Average Run and Queue Time - Number of jobs executing at a particular time, average time that they waited in the queue, and average run time Job Queue - which jobs are currently queued, their priorities and when they are expected to start.
  • 35.
  • 36.
  • 37. Used to be a Power Tool, now an OOB Feature with TFS 2013 Backups up TFS related databases Nightly, Manual or Custom Full, Differential, Transactional Allows for TPC-level Restore Notifications Available
  • 38.
  • 39. TFS SCM Add-Ons Code Analysis Custom Path Forbidden patterns Work Item Queries Found in TFS Power Tools: http://visualstudiogallery.msdn.microsoft.com/f0 17b10c-02b4-4d6d-9845-58a06545627f
  • 40.
  • 41. Import/Export/Manage: Work Item Definitions Workflow Form Layout Global Lists Open/Edit from file or server http://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f
  • 42.
  • 43. Scan TFS Instance Hardware AND Software Detect Security Issues Lists non-default settings Detects non-compliance with best practices Recommends remediation http://msdn.microsoft.com/en-us/library/ee248645%28v=vs.100%29.aspx
  • 45. Free TFS Analyzer Tool: View team project activities View and edit SCM settings View branch hierarchies View and edit security group and settings View and edit build templates View and edit build definitions Compare templates View and edit process configuration Supports TFS 2008+ http://teamprojectmanager.codeplex.com/
  • 46.
  • 48. Visualization and Admin Add-On for TFS Plugs right into Visual Studio Provides additional features around: Workspaces Security and Permissions Code Review SCM History and Labels FREE, yes, I know! http://www.attrice.info/