How To Prevent External Access For a Specific User/Users
                    
                
                
                    
                        book
                        
Article ID: CTX217024
                        
                    
                    
                        calendar_today
                        
Updated On: 
                    
                 
                
                    
                
                    
                    
                        
                            
Description
                        
                        
                            How To Prevent External Access For a Specific User/Users.
Instructions
Run the following commands:
To exclude the user for accessing the site:
- Get-BrokerAccessPolicyRule -Name "<name of the access policy>" | Set-BrokerAccessPolicyRule -ExcludedUsersFilterEnaled $True
- Get-BrokerAccessPolicyRule -Name "<name of the access policy> | Set-BrokerAccessPolicyRule -ExcludedUsers "Domain/User"To revert the changes:
- Get-BrokerAccessPolicyRule -Name "<name of the access policy>" | Set-BrokerAccessPolicyRule -ExcludedUsersFilterEnaled $FalseTo let the user access site again:
- Get-BrokerAccessPolicyRule -Name "<name of access policy>" | Set-BrokerAccessPolicyRule -RemoveExcludedUsers "Domain/User"
                         
                     
                    
                    
                    
                    
                    
                        
                            
                                
Issue/Introduction
                            
                            
                                How To Prevent External Access For a Specific User/Users
                            
                         
                        
                    
                    
                    
                
                    
                        
                            Was this article helpful?
                        
                        
                            
                                thumb_up
                                Yes
                            
                            
                                thumb_down
                                No