Hybrid Federated Search – Multiple Environments

We have Dynamics 365 Online, which is currently storing documents in Sharepoint Online. We have a Dev/Sandbox instance for D365 as well as Prod, and each of the two instances is connected to a different SP Online site. (Same tenant, though.) So far, this is all fine.

However, we’re looking at moving to SP On-Prem for our internal file server. In order to search both the Online and On-Prem, it’s looking like I can do a Hybrid Search. (Specifically looking at the Outbound Hybrid Federated Search.) What I’m trying to figure out is this – can I have two different searches configured on the same SP On-prem server? One that searches all of the internal stuff plus the D365 Prod SP Online site, and another for admins only that searches the internal stuff plus the D365 Sandbox/Dev SP Online site?

How do I restore Magento Cloud environments deleted by GitHub integration?

I followed the instructions to setup a GitHub integration with my Magento Cloud Pro project. This project has not been made live yet, but has been in development for several months and therefore has 1k+ commits. I took a snapshot of my Integration environment and ran the command as documented:

magento-cloud integration:add --type=github --project ... 

There were additional prompts that appeared after running, with what seemed to be reasonable defaults, which I accepted.

Build pull requests (--build-pull-requests) Build every pull request as an environment? [Y|n]   Build pull requests post-merge (--build-pull-requests-post-merge) Build pull requests based on their post-merge state? [y|N]   Clone data for pull requests (--pull-requests-clone-parent-data) Clone the parent environment's data for pull requests? [Y|n]   Fetch branches (--fetch-branches) Fetch all branches from the remote (as inactive environments)? [Y|n]   Prune branches (--prune-branches) Delete branches that do not exist on the remote? [Y|n]  

After the last question it created a webhook and created the integration.

Oh, then it deleted all my environments apart from Master, Production, and Staging.

Bye bye bye

I’m guessing it’s the last prompt that screwed me up --prune-branches. Shame on me for not pausing to consider what that might do (note: this option isn’t documented in the instructions).

What can I do to restore these environments?

Unlike deleting an environment through the Magento Cloud GUI, these appear to be gone. They aren’t there and deactivated.

Links in stage environments are absolute and send users to live enviroment

This problem has been driving crazy for years. whenever I create a stage environment of a site, I copy the database from the production site. some of the links there – whether in the menus or in the content or in the code, are absolute paths in the production site. so i have links that lead users from one environment to the other.

Ive been looking for a way to alter this behaviour. so that all link as
live-environment.com/some-page —-> stage-environment.com/some-page

I dont care if it will happen before the render or just after the click. just that the end result will be that the user stays in the stage environment.

How can I do this. (drupal 7)

Thanks a lot for your help

Best Practices for managing Active Directory across Dev, QA, UAT, & Prod environments

Long time listener, first time caller. I’ve recently been promoted to my first Systems Analyst gig – and I’m very excited, if not a little green.

My organization just launched a a new in-house application that our Dev team has been working on for a few years, prior to my arrival.

Now that the application and integrations have been released to the production environment, the DevOps team is re-architecting the CI/CD pipeline, to be sure that each enviro is firewalled from each other. We have Dev, QA, UAT, and Prod environments.

The Developers are pushing hard for scripting everything, so that environments may be torn down and built up as needed. Of course, all the non-Prod environments need to mimic the Prod enviro as much as possible. Currently, Active Directory services are structured as a single forest, single domain.

Our shared concern is that – upon scripting the creation of the enviros, including AD elements (e.g. user accounts, service accounts, security and distribution groups) – we could inadvertently cause an undesired change to our single AD, which of course, is responsible for all production authentication (e.g. users, computers, etc…).

My question: What are some best practices for DevOps teams in terms of architecting/managing/isolating Active Directory across environments? Should we create another forest, with a trust relationship? Or maybe a child domain in the existing forest? Or something totally different?

If all the environments are uniquely their own – that is, firewalled and isolated from one another, but all reach out from within their isolation to have a “touchpoint” in a single AD, how is this best managed?

Looking forward to any guidance, and yes – I have been Google-fuing/researching independently of asking here. Just thought this community might be a good place to continue my search.

Please – if I haven’t provided the necessary information to appropriately answer the question, just let me know.

Thanks in advance.

run bash program from the portable environments?

i have a program on /usr/local/bin/prog1 and the data directory already on /usr/local/lib/python2.7/dist-packages/prog1.

i try to set environtments to run prog1 like :

$   PROG1=/usr/local/lib/python2.7/dist-packages/prog1:/usr/local/lib/python2.7/dist-packages/prog1  $   export PROG1 

But when i run PROG1, the output errors appears :

$   PROG1 PROG1: command not found 

OR i try to run $ PROG1, the output errors appears :

$   $  PROG1 -bash: /usr/local/lib/python2.7/dist-packages/prog1:/usr/local/bin/prog1: No such file or directory 

How should i do to run my Prog1 on my portable environtments??

Thanks in advance.

Git branch management vs deployable environments

I am looking for a git branch management model that would be used easily and would allow for Continuous Integration/Delivery.

Imagine I have 3 environments: prod, uat and dev.

The code repository includes source code as well as infrastructure as code files (in this case serverless.yml)

I would like to use semantic versioning for the source code (git tags?) and I want to have auto deploys on releasing a new version.

The way I currently picture it is that there are only 2 locked branches in git: master and dev. Where master matches the current prod environment (every time I merge to master it is deployed to prod). Every commit pushed to dev is deployed to dev environment and every tag pushed to dev is deployed to uat.

All of this seems kind of possible, but there are some things unclear to me:

  • How do I manage changes to the infrastructure that “doesn’t affect the source code”? Let’s say I need to increase the number of deployed instances etc.

  • Ideally, I would only like uat-accepted versions to be released to production, how could I make sure that no untagged commits will make it to the prod environment?

I am looking for recommendations on how to approach this topic in general. Thanks!

How to deal with object widths in responsive environments

I’ve just designed a widget – it’s a data table with 3 fairly narrow columns. It looks good on mobile and desktop.

On mobile (portrait), it takes up the full width, while on desktop, it uses 50% of the space at 12 column, which is dictated by a grid system.

However, there are “in between” widths where there’s not enough space to squeeze in another column but the table becomes too wide and the columns too far apart – for instance just before 8 column breakpoint (599px).

Anyone got any ideas to throw into the pot as to how handle the table as these badly fitting widths?

How do different environments, settings, conditions etc. affect photography?

When I refer to setting/conditions, I’m specifically talking about the background; the location you choose to take photos and the conditions in said locations.


Landscape photography having the sun behind you sucks because of lack of shadows ergo lack of depth.

Portrait photography overcast is great because clouds work as natural diffusers.

Overhead require reflector/secondary light from the bottom to compensate for the shadows.

When taking pictures inside first consider natural light before playing with artificial light.

When taking pictures with mountains in the background, aim low to cause mountains to tower over the subject, providing a sense of scale.


How to sync configuration between multiple developers’ environments

D8 Configuration management is really awesome and easy to use when there’s only one developer working on a project. We are running into challenges in keeping configuration synced between environments when more than one developer is introduced to a project at the same time.


  • Developer A is working on feature A. Exports configuration to their feature branch and pushes it to a shared develop branch.
  • At the same time, developer B is working on feature B and does the same thing – pushes feature configuration to the shared develop branch.

How do you import feature A and feature B concurrently?

I am having trouble with article formatting when exporting/importing articles from the production to the development environments

Whenever I export a couple of articles from my production site to my development site, the imported one loses all its spacings (&nbsp elements). Has anyone ever encountered this?

I use WordPress Importer; also tried different export/import plugins and they have the same effect.

  1. also have trouble with the featured image not being exported for the said articles and it is not being shown.

To be more precise:

The export structure looks like this:

<span style="font-weight: 400;">block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text   </span>  &nbsp;  <span style="font-weight: 400;"> block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text    </span>  &nbsp; 

After the import is complete, the structure looks like this:

<span style="font-weight: 400;"> block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text    </span>  <span style="font-weight: 400;"> block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text  block of text    </span>