How can I restore my deleted team in Microsoft Teams? It seems like there is no corresponding option for doing it?
With some reason, I deleted a certain team, As team didn't exist yet, so there is no something like "Manage team" option I can use.
Because the team has been deleted, so there is no option to do it(Channel can be restored in "Manage team" option).
Cause a team in Microsoft Teams actully is a office 365 Group, So you can restore your it in Office365 Admin Portal, please ensure you have permission to do it. Office 365 Admin Portal -> Exchange Admin Center, navigate to recipients -> groups, here you can find the deleted team(group), select it and find the restore option at the top of panel.
You can restore any deleted using AzureADPreview Powershell module. Learn this way is very important because this way you can make use of scripting and you can do bulk restore or perform multiple actions at once.
Procedure: Install AzureADPreview Powershell by running the following command and check your deleted Teams by running another command.
Installation: Install-Module AzurePreview
Connecting: Connect-AzureAD
Finding Deleted Team: Get-AzureADMSDeletedGroup
Getting Object ID: $Objectid = (Get-AzureADMSDeletedGroup -All $True | where {$_.DisplayName -like "*Finance*"}).ObjectId
Restoring:Restore-AzureADMSDeletedDirectoryObject -Id $ObjectId
Complete Reference at: https://mcsaguru.com/how-to-restore-a-microsoft-office-365-deleted-team-using-powershell/
Related
Unable to configure profile after installing Outlook 365.
It throws the error: A specified logon session does not exist. it may already have been terminated
Problem background:
I had a working Outlook 2016 which I uninstalled and installed the new Office 365 Outlook after which I'm unable to configure my Outlook profile.
Disclaimer: Answering my own question, so that others shall not get stuck where I did.
This error occurs due to conflict with previous left-over older Outlook configurations with the new Office365 Outlook.
I had to follow all these steps in the given order to resolve the issue.
STEP - 1:
Delete old Outlook profile (Warning: You'll lose the local copy of all emails, on removing the profile)
Go to "Control Panel" --> "Mail" option.
Click on "Show Profiles"
Remove all profiles from there.
STEP - 2:
Delete all files from the Accounts folder.
C:\Users\rlal1\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\AC\TokenBroker\Accounts
Delete everything present in the above directory. Restart your PC and try logging in to Outlook.
If it doesn't works follow the next steps.
STEP - 3:
Create a new Registry key
Open Registry Editor and navigate to below registry path.
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
Switch to the right-panel window and create a new key (DWORD 32-Bit value) with the following name DisableADALatopWAMOverride.
Double-click on the value to change its Value Data from ‘0’ to ‘1’.
Now, create another new key (DWORD 32-Bit value) with the following name EnableADAL.
Double-click the entry and set its value to ‘0’.
Finally, restart Windows and try to create a new Outlook profile again.
Our IT decided to migrate AD to a new domain. Now, those who did migrate their accounts, facing an issue - they've lost code reviews and shelvesets. They didn't really lost it. It is still accessible via "Find Shelvesets" and enter olddomain\user. But "My Work" is now disconnected. And even opening the "My Work" query and modifying a user name to the old user, still no success.
To clarify - only users being moved to new domain, not the TFS server
Did anyone have done something like this and any recommendations, workarounds?
They unfortunately did the domain move incorrectly. If done correctly, the data will carry over to the new user. Unfortunately there is no proper fix after messing this up as TFS now has 2 records with a unique identifier. These records can' be removed or merged.
You should be able to do the following in a script:
create a workspace (tf vc workspace)
map the project folder (tf vc map)
get latest (tf vc get)
query all shelvesets of your old user (tf vc shevesets)
in a loop
Unshelve shelfset (tf vc unshelve)
Shelve a new one under your current user (tf vc shelve)
Undo pending changes (tf vc undo)
A number of these commands support a /format:xml argument, making it easy to call them in a PowerShell script and extracting the data for the next steps.
I don't think my-work will restore the associated work items and all. My Work has been removed from recent versions of Visual Studio, so you could use this as a good time to get used to that.
Other things that may have gone missing:
"My Queries" under work items
My Capacity
Work item associations
Pending changes in workspaces
The correct way to do TFS domain migrations is to suspend the server, do the account migration, then run tfsconfig identities:
{Server install path}\Tools>TfsConfig.exe identities /change /fromdomain:old /todomain:new /account:old /toaccount:new
But this can only be done as long as TFS hasn't yet synced the new identity into the database. This may help future issues as they move new users over.
I set a Out off Office meeting reminder in future in MS Outlook and now my MS Teams is showing Out Of Office.
I checked the setting in my MS Outlook and also tried to manually change my status in MS Teams but in vain.
Where can I fix my out of office setting so that my MS Team shows normal "Available, Away or Busy" status instead of "out of office available/busy/away" ?
The reason may be you have accepted someone’s Out of Office (OOO) appointment. Goto your calendar and reject it.
I solved the similar issue like below.
Go to your Outlook and Click on File
Make sure to check this option (Do not send automatic replies)
1.first turn off automatic reply.
2.Sync your email from outlook by send/receive -> update folder. It will connect
with outlook server. Once it is synced your teams status will be changed.
Type /busy in your teams search box .
Locally installed TFS2013, VS2015 and VS2013 using SharePoint services.
So far the development system is kind of OK, meaning I can create a collection, create a team project within a collection, add a new solution to that, run it, do a Check In and the SharePoint site shows the project code, etc. I can also create work items at the SharePoint site and from within Visual Studio.
But I'm having difficulty understanding how the user accounts are interacting. On my development workstation I logged in with a normal domain account. But I do not see work items assigned to that user name. I only see work items if they are assigned to the system Admin account.
I would have expected VS would be operating under the user account that I logged into Win10 with, but it seems to be operating as though VS is logged in as the system Admin.
Why is that? Is there a place where VS sets data that tells TFS what user name it is operating under? And, of course, I may be asking the wrong question because I don't understand the problem, but this is how it appears.
Added after initial post for clarity
This panel shot shows where the Work Items were not showing up for the user under Available Work Items. Because of the issue identified in the answer below, only work items assigned to Admin were present. But after clearing the cached credentials the work items displayed correctly according to the proper account, no longer acting as Admin.
This may due to the VS had cached your system Admin account.
The simplest way is to delete the related credentials which stored in control panel > Credential Manager> Windows Credentials
Then reopen the VS and try to connect to TFS server. It will pops up a credential window, just type your login domain account.
i have a public workspace for my user 'domain\user'
when visual studio starts from my user, it automatically create another workspace for user 'domain\user1'
all checkins a perfomed by 'domain\user1'
both of users have full administrative permissions in TFS project collection
result of TF WORKSPACES :
Collection: http://tfs-server:8080/tfs/collection1
Workspace Owner Computer Comment
--------- --------------------- --------- ----------
workspace1 domain\user1 computer1
workspace1 domain\user computer1
It seems that my workspace,by some unknow reasons, not visible to visual studio.
When i set 'public(limited)' or 'private' for workspace with owner 'domain\user', VS give error during check-in:
Does anyone help me to understand what is happening? Recently it works well, but it looks that something is going wrong..
UPDATE: it is appears only on one computer 'computer1' and works fine on different mashine with same user login
After some time it appears again on new environment.
I solve it by next steps:
1) go to control panel -> credential manager
2) under 'windows credentials' find row with your TFS server url
3) click remove
When your connect to tfs next time from VS, it requests credentials and you need enter actual login and password